+2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
+
+ * imenu.el (imenu--generic-function): Use mapc.
+
2002-08-20 Richard M. Stallman <rms@gnu.org>
* font-core.el (font-lock-change-mode): New function.
;; The character(s) to modify may be a single char or a string.
(if (numberp (car syn))
(modify-syntax-entry (car syn) (cdr syn) table)
- (dolist (c (car syn))
- (modify-syntax-entry c (cdr syn) table))))
+ (mapc (lambda (c)
+ (modify-syntax-entry c (cdr syn) table))
+ (car syn))))
(goto-char (point-max))
(imenu-progress-message prev-pos 0 t)
(unwind-protect ; for syntax table