From 94c0f134d2cec6199c4685300216048845984425 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 27 Jan 2021 12:47:38 -0600 Subject: Comment out the link opening code in org-return-dwim --- config.org | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'config.org') diff --git a/config.org b/config.org index 3d83c54..bb3dde6 100644 --- a/config.org +++ b/config.org @@ -1901,10 +1901,14 @@ from [[https://github.com/KaratasFurkan/.emacs.d#org-1][Furkan Karataş]]. ;; NOTE: I prefer RET to not follow links, but by uncommenting ;; this block, links will be followed. - - ((eq 'link (car (org-element-context))) - ;; Link: Open it. - (org-open-at-point-global)) + ;; FURTHER NOTE: Ideally, I would follow links unless point + ;; /appeared/ to be at the end of the line (even if it's still + ;; inside the link) -- when it would do `org-return'. That + ;; would take some /doing/, however. + + ;; ((eq 'link (car (org-element-context))) + ;; ;; Link: Open it. + ;; (org-open-at-point-global)) ((org-at-heading-p) ;; Heading: Move to position after entry content. -- cgit 1.4.1-21-gabe81