1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

org-indent: modify messages sent

* lisp/org-indent.el (org-indent-indent-buffer): send more appropriate
  messages .
This commit is contained in:
Nicolas Goaziou 2011-07-21 16:14:58 +02:00
parent a7600032d0
commit 9479991d4c

View File

@ -183,12 +183,12 @@ useful to make it ever so slightly different."
(interactive)
(if (not (org-mode-p))
(error "Buffer major mode must be Org")
(message "Initializing buffer indentation. It may take a few seconds...")
(message "Setting buffer indentation. It may take a few seconds...")
(org-with-wide-buffer
(with-silent-modifications
(org-indent-remove-properties (point-min) (point-max))
(org-indent-add-properties (point-min) (point-max))))
(message "Indentation of buffer initialized.")))
(message "Indentation of buffer set.")))
(defsubst org-indent-remove-properties (beg end)
"Remove indentations between BEG and END."