aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-04-03 23:51:39 +0000
committerJuanma Barranquero2008-04-03 23:51:39 +0000
commitf3b21763de29fc8065c0ae38555bcf1fe387cfa7 (patch)
tree1f539df714af3004c2ecafcbd7343eb679ab0de8
parent3672f2ba73692873cb54a9fd08f178ddba4e93b1 (diff)
downloademacs-f3b21763de29fc8065c0ae38555bcf1fe387cfa7.tar.gz
emacs-f3b21763de29fc8065c0ae38555bcf1fe387cfa7.zip
(highlight-changes-visibility-initial-state, hilit-chg-update,
highlight-changes-mode-turn-on): Fix typos in docstrings.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/hilit-chg.el14
2 files changed, 13 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e7f07378b03..5b120ff7c55 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12008-04-03 Juanma Barranquero <lekktu@gmail.com>
2
3 * hilit-chg.el (highlight-changes-visibility-initial-state)
4 (hilit-chg-update, highlight-changes-mode-turn-on):
5 Fix typos in docstrings.
6
12008-04-03 Stephen Berman <Stephen.Berman@gmx.net> 72008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
2 8
3 * newcomment.el (comment-enter-backward): Be careful to restore 9 * newcomment.el (comment-enter-backward): Be careful to restore
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el
index b7ad52d26a0..c09a73425cb 100644
--- a/lisp/hilit-chg.el
+++ b/lisp/hilit-chg.el
@@ -247,11 +247,11 @@ colors then use this, if you want fancier faces then set
247 'highlight-changes-visibility-initial-state) 247 'highlight-changes-visibility-initial-state)
248 248
249(defcustom highlight-changes-visibility-initial-state t 249(defcustom highlight-changes-visibility-initial-state t
250 "Controls whether changes are initially be visible in Highlight Changes mode. 250 "Controls whether changes are initially visible in Highlight Changes mode.
251 251
252This controls the initial value of highlght-changes-visibile-mode. 252This controls the initial value of `highlight-changes-visible-mode'.
253When a buffer is in Highlight Changes mode the function 253When a buffer is in Highlight Changes mode the function
254highlght-changes-visibile-mode is used to toggle the mode on or off." 254`highlight-changes-visible-mode' is used to toggle the mode on or off."
255 :type 'boolean 255 :type 'boolean
256 :group 'highlight-changes) 256 :group 'highlight-changes)
257 257
@@ -467,7 +467,7 @@ Otherwise, this list will be constructed when needed from
467 :group 'highlight-changes) 467 :group 'highlight-changes)
468 468
469 469
470(defun hilit-chg-map-changes (func &optional start-position end-position) 470(defun hilit-chg-map-changes (func &optional start-position end-position)
471 "Call function FUNC for each region used by Highlight Changes mode. 471 "Call function FUNC for each region used by Highlight Changes mode.
472If START-POSITION is nil, (point-min) is used. 472If START-POSITION is nil, (point-min) is used.
473If END-POSITION is nil, (point-max) is used. 473If END-POSITION is nil, (point-max) is used.
@@ -618,7 +618,7 @@ This allows you to manually remove highlighting from uninteresting changes."
618 (hilit-chg-make-ov type beg end))))))) 618 (hilit-chg-make-ov type beg end)))))))
619 619
620(defun hilit-chg-update () 620(defun hilit-chg-update ()
621 "Update a buffer's highlight changes when visibiility changed." 621 "Update a buffer's highlight changes when visibility changed."
622 (if highlight-changes-visible-mode 622 (if highlight-changes-visible-mode
623 ;; changes are visible 623 ;; changes are visible
624 (progn 624 (progn
@@ -1006,8 +1006,8 @@ changes are made, so \\[highlight-changes-next-change] and
1006 'global-highlight-changes-mode "22.1") 1006 'global-highlight-changes-mode "22.1")
1007 1007
1008(defun highlight-changes-mode-turn-on () 1008(defun highlight-changes-mode-turn-on ()
1009 "See if highlight-changes-mode should be turned on for this buffer. 1009 "See if Highlight Changes mode should be turned on for this buffer.
1010This is called when global-highlight-changes-mode is turned on." 1010This is called when `global-highlight-changes-mode' is turned on."
1011 (or highlight-changes-mode ; do nothing if already on 1011 (or highlight-changes-mode ; do nothing if already on
1012 (if 1012 (if
1013 (cond 1013 (cond