Quellcode durchsuchen

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

* org-macs.el (org-unmodified): Update comment.
Bastien Guerry vor 12 Jahren
Ursprung
Commit
4d24f1d383
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  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)