]> git.eshelyaron.com Git - emacs.git/commitdiff
(hilit-mode): Use mapc rather than mapcar.
authorGlenn Morris <rgm@gnu.org>
Fri, 12 Oct 2007 03:07:02 +0000 (03:07 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 12 Oct 2007 03:07:02 +0000 (03:07 +0000)
lisp/ChangeLog
lisp/obsolete/hilit19.el

index df0bb34172aac7bcea943c65a49bf0c87e09a0c8..2fed711f6d742d65ecf57d42703ca9fd54b2a1d2 100644 (file)
@@ -1,5 +1,12 @@
 2007-10-12  Glenn Morris  <rgm@gnu.org>
 
+       * emacs-lisp/byte-opt.el (top level):
+       * mail/rmail.el (rmail-list-to-menu):
+       * obsolete/hilit19.el (hilit-mode):
+       * progmodes/cc-mode.el (c-postprocess-file-styles)
+       (c-submit-bug-report):
+       * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar.
+
        * cus-edit.el (custom-variable-menu, custom-face-menu)
        (custom-group-menu): Check init-file-user rather than
        user-init-file, in case cus-edit is loaded by site-run-file.
index 9221753a86472d899c7ae381eda4b5f3a7918d16..be0b5d622a26bf1d9d44260972145151c0548f54 100644 (file)
@@ -975,24 +975,24 @@ the entire buffer is forced."
        (progn
 
          ;; BUFFER highlights...
-         (mapcar (lambda (hook)
-                   (if hilit-mode
-                       (add-hook hook 'hilit-rehighlight-buffer-quietly)
-                     (remove-hook hook 'hilit-rehighlight-buffer-quietly)))
-                 '(
-                   Info-selection-hook
-
-                   ;; runs too early                vm-summary-mode-hooks
-                   vm-summary-pointer-hook
-                   vm-preview-message-hook
-                   vm-show-message-hook
-
-                   rmail-show-message-hook
-                   mail-setup-hook
-                   mh-show-mode-hook
-
-                   dired-after-readin-hook
-                   ))
+         (mapc (lambda (hook)
+                 (if hilit-mode
+                     (add-hook hook 'hilit-rehighlight-buffer-quietly)
+                   (remove-hook hook 'hilit-rehighlight-buffer-quietly)))
+               '(
+                 Info-selection-hook
+
+                 ;; runs too early                  vm-summary-mode-hooks
+                 vm-summary-pointer-hook
+                 vm-preview-message-hook
+                 vm-show-message-hook
+
+                 rmail-show-message-hook
+                 mail-setup-hook
+                 mh-show-mode-hook
+
+                 dired-after-readin-hook
+                 ))
          )
       (error (message "Error loading highlight hooks: %s" c)
             (ding) (sit-for 1)))))