Function: hilit-chg-clear
hilit-chg-clear is a byte-compiled function defined in
hilit-chg.el.gz.
Signature
(hilit-chg-clear)
Documentation
Remove Highlight Changes mode for this buffer.
This removes all saved change information.
Source Code
;; Defined in /usr/src/emacs/lisp/hilit-chg.el.gz
(defun hilit-chg-clear ()
"Remove Highlight Changes mode for this buffer.
This removes all saved change information."
(if buffer-read-only
;; We print the buffer name because this function could be called
;; on many buffers from `global-highlight-changes-mode'.
(message "Cannot remove highlighting from read-only mode buffer %s"
(buffer-name))
(remove-hook 'after-change-functions 'hilit-chg-set-face-on-change t)
(with-silent-modifications
(hilit-chg-hide-changes)
(hilit-chg-map-changes
(lambda (_prop start stop)
(remove-text-properties start stop '(hilit-chg nil)))))
(setq highlight-changes-mode nil)
(force-mode-line-update)))