|
@@ -15975,7 +15975,9 @@ beyond the end of the headline."
|
|
(car org-special-ctrl-a/e)
|
|
(car org-special-ctrl-a/e)
|
|
org-special-ctrl-a/e))
|
|
org-special-ctrl-a/e))
|
|
refpos)
|
|
refpos)
|
|
- (beginning-of-line 1)
|
|
|
|
|
|
+ (if (org-bound-and-true-p line-move-visual)
|
|
|
|
+ (beginning-of-visual-line 1)
|
|
|
|
+ (beginning-of-line 1))
|
|
(if (and arg (fboundp 'move-beginning-of-line))
|
|
(if (and arg (fboundp 'move-beginning-of-line))
|
|
(call-interactively 'move-beginning-of-line)
|
|
(call-interactively 'move-beginning-of-line)
|
|
(if (bobp)
|
|
(if (bobp)
|
|
@@ -16024,9 +16026,10 @@ beyond the end of the headline."
|
|
(if (or (not special)
|
|
(if (or (not special)
|
|
(not (org-on-heading-p))
|
|
(not (org-on-heading-p))
|
|
arg)
|
|
arg)
|
|
- (call-interactively (if (fboundp 'move-end-of-line)
|
|
|
|
- 'move-end-of-line
|
|
|
|
- 'end-of-line))
|
|
|
|
|
|
+ (call-interactively
|
|
|
|
+ (cond ((org-bound-and-true-p line-move-visual) 'end-of-visual-line)
|
|
|
|
+ ((fboundp 'move-end-of-line) 'move-end-of-line)
|
|
|
|
+ (t 'end-of-line)))
|
|
(let ((pos (point)))
|
|
(let ((pos (point)))
|
|
(beginning-of-line 1)
|
|
(beginning-of-line 1)
|
|
(if (looking-at (org-re ".*?\\([ \t]*\\)\\(:[[:alnum:]_@:]+:\\)[ \t]*$"))
|
|
(if (looking-at (org-re ".*?\\([ \t]*\\)\\(:[[:alnum:]_@:]+:\\)[ \t]*$"))
|