瀏覽代碼

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

* org.el (org-set-tags): Ignore invisible text when restoring
cursor position.
Bastien Guerry 11 年之前
父節點
當前提交
66fd521264
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

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