summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-27 12:47:38 -0600
committerCase Duckworth2021-01-27 12:47:38 -0600
commit94c0f134d2cec6199c4685300216048845984425 (patch)
treeceaebe1ccac617cc7c878d04a5b3859731eeed0f
parentFont-lock list items (diff)
downloademacs-94c0f134d2cec6199c4685300216048845984425.tar.gz
emacs-94c0f134d2cec6199c4685300216048845984425.zip
Comment out the link opening code in org-return-dwim
-rw-r--r--config.org12
1 files changed, 8 insertions, 4 deletions
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ş]].
1901 1901
1902 ;; NOTE: I prefer RET to not follow links, but by uncommenting 1902 ;; NOTE: I prefer RET to not follow links, but by uncommenting
1903 ;; this block, links will be followed. 1903 ;; this block, links will be followed.
1904 1904 ;; FURTHER NOTE: Ideally, I would follow links unless point
1905 ((eq 'link (car (org-element-context))) 1905 ;; /appeared/ to be at the end of the line (even if it's still
1906 ;; Link: Open it. 1906 ;; inside the link) -- when it would do `org-return'. That
1907 (org-open-at-point-global)) 1907 ;; would take some /doing/, however.
1908
1909 ;; ((eq 'link (car (org-element-context)))
1910 ;; ;; Link: Open it.
1911 ;; (org-open-at-point-global))
1908 1912
1909 ((org-at-heading-p) 1913 ((org-at-heading-p)
1910 ;; Heading: Move to position after entry content. 1914 ;; Heading: Move to position after entry content.