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
1 changed files with 1 additions and 1 deletions

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))))))