about summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/acdw-org.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/lisp/acdw-org.el b/lisp/acdw-org.el index de2bafc..2f798d9 100644 --- a/lisp/acdw-org.el +++ b/lisp/acdw-org.el
@@ -52,13 +52,10 @@ appropriate. In tables, insert a new row or end the table."
52 (_ (newline default))) 52 (_ (newline default)))
53 (cond 53 (cond
54 ;; Act depending on context around point. 54 ;; Act depending on context around point.
55 55 ((and org-return-follows-link
56 ;; NOTE: I prefer RET to not follow links, but by uncommenting this block, links will be 56 (eq 'link (car (org-element-context))))
57 ;; followed. 57 ;; Link: Open it.
58 58 (org-open-at-point-global))
59 ;; ((eq 'link (car (org-element-context)))
60 ;; ;; Link: Open it.
61 ;; (org-open-at-point-global))
62 59
63 ((org-at-heading-p) 60 ((org-at-heading-p)
64 ;; Heading: Move to position after entry content. 61 ;; Heading: Move to position after entry content.