]> code.delx.au - gnu-emacs/blobdiff - lisp/hilit-chg.el
(insert-directory): If the df output does not look right,
[gnu-emacs] / lisp / hilit-chg.el
index 5da5d729e62db698784fafa3bb9292b452c2357f..357b39b5b45f98be10c4447cc3c50b05d1e8a212 100644 (file)
@@ -292,7 +292,7 @@ t means the buffer is suitable if its name does not begin with ` ' nor
 `*' and the buffer has a filename.
 
 A value of nil means no buffers are suitable for `global-highlight-changes'
-(effectively disabling the mode).
+\(effectively disabling the mode).
 
 Examples:
         (c-mode c++-mode)
@@ -589,7 +589,6 @@ This allows you to manually remove highlighting from uninteresting changes."
     (or buffer-read-only
        (hilit-chg-hide-changes)))
   (force-mode-line-update)
-  (make-local-hook 'after-change-functions)
   (add-hook 'after-change-functions 'hilit-chg-set-face-on-change nil t))
 
 (defun hilit-chg-clear ()
@@ -853,11 +852,11 @@ changes are made, so \\[highlight-changes-next-change] and
     (if (buffer-modified-p buf-a)
        (if (y-or-n-p (format "OK to save %s?  " file-a))
                       (save-buffer buf-a)
-         (error "Buffer must be saved before comparing with a file.")))
+         (error "Buffer must be saved before comparing with a file")))
     (if (and existing-buf (buffer-modified-p buf-b))
        (if (y-or-n-p (format "OK to save %s?  " file-b))
                       (save-buffer buf-b)
-         (error "Cannot compare with a file in an unsaved buffer.")))
+         (error "Cannot compare with a file in an unsaved buffer")))
     (highlight-changes-mode 'active)
     (if existing-buf (with-current-buffer buf-b
                       (highlight-changes-mode 'active)))