1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-04 08:47:03 +00:00

org.el (org-set-tags): Ignore invisible text when restoring cursor position

* org.el (org-set-tags): Ignore invisible text when restoring
cursor position.
This commit is contained in:
Bastien Guerry 2014-01-05 14:21:38 +01:00
parent 65cf7047bf
commit 66fd521264

View File

@ -14557,7 +14557,7 @@ With prefix ARG, realign all tags in headings in the current buffer."
(and (not (featurep 'xemacs)) c0 indent-tabs-mode (tabify p0 (point)))
tags)
(t (error "Tags alignment failed")))
(org-move-to-column col)
(org-move-to-column col nil nil t)
(unless just-align
(run-hooks 'org-after-tags-change-hook))))))