浏览代码

org-macs.el (org-unmodified): Update comment

* org-macs.el (org-unmodified): Update comment.
Bastien Guerry 12 年之前
父节点
当前提交
4d24f1d383
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      lisp/org-macs.el

+ 2 - 3
lisp/org-macs.el

@@ -108,9 +108,8 @@ Otherwise return nil."
 	 (org-move-to-column ,col)))))
 (def-edebug-spec org-preserve-lc (body))
 
-;; Copied from bookmark.el
-;; Use `org-unmodified' to ignore real modifications, otherwise
-;; `with-silent-modifications' is enough to ignore cosmetic ones
+;; Use `org-with-silent-modifications' to ignore cosmetic changes and
+;; `org-unmodified' to ignore real text modifications
 (defmacro org-unmodified (&rest body)
   "Run BODY while preserving the buffer's `buffer-modified-p' state."
   (org-with-gensyms (was-modified)