+2008-04-03 Juanma Barranquero <lekktu@gmail.com>
+
+ * hilit-chg.el (highlight-changes-visibility-initial-state)
+ (hilit-chg-update, highlight-changes-mode-turn-on):
+ Fix typos in docstrings.
+
2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
* newcomment.el (comment-enter-backward): Be careful to restore
'highlight-changes-visibility-initial-state)
(defcustom highlight-changes-visibility-initial-state t
- "Controls whether changes are initially be visible in Highlight Changes mode.
+ "Controls whether changes are initially visible in Highlight Changes mode.
-This controls the initial value of highlght-changes-visibile-mode.
+This controls the initial value of `highlight-changes-visible-mode'.
When a buffer is in Highlight Changes mode the function
-highlght-changes-visibile-mode is used to toggle the mode on or off."
+`highlight-changes-visible-mode' is used to toggle the mode on or off."
:type 'boolean
:group 'highlight-changes)
:group 'highlight-changes)
-(defun hilit-chg-map-changes (func &optional start-position end-position)
+(defun hilit-chg-map-changes (func &optional start-position end-position)
"Call function FUNC for each region used by Highlight Changes mode.
If START-POSITION is nil, (point-min) is used.
If END-POSITION is nil, (point-max) is used.
(hilit-chg-make-ov type beg end)))))))
(defun hilit-chg-update ()
- "Update a buffer's highlight changes when visibiility changed."
+ "Update a buffer's highlight changes when visibility changed."
(if highlight-changes-visible-mode
;; changes are visible
(progn
'global-highlight-changes-mode "22.1")
(defun highlight-changes-mode-turn-on ()
- "See if highlight-changes-mode should be turned on for this buffer.
-This is called when global-highlight-changes-mode is turned on."
+ "See if Highlight Changes mode should be turned on for this buffer.
+This is called when `global-highlight-changes-mode' is turned on."
(or highlight-changes-mode ; do nothing if already on
(if
(cond