# HG changeset patch # User Juanma Barranquero # Date 1207266637 0 # Node ID cb11f55e7732f27d044cff26d3787bd724dfee34 # Parent 0d8f85920a6694af18b8012602c34894d24c1fab (highlight-changes-visibility-initial-state, hilit-chg-update, highlight-changes-mode-turn-on): Fix typos in docstrings. diff -r 0d8f85920a66 -r cb11f55e7732 lisp/hilit-chg.el --- a/lisp/hilit-chg.el Thu Apr 03 23:05:10 2008 +0000 +++ b/lisp/hilit-chg.el Thu Apr 03 23:50:37 2008 +0000 @@ -247,11 +247,11 @@ '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) @@ -467,7 +467,7 @@ :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. @@ -618,7 +618,7 @@ (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 @@ -1006,8 +1006,8 @@ '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