From: Glenn Morris Date: Sat, 13 Oct 2007 03:01:31 +0000 (+0000) Subject: (top level): Use mapc rather than mapcar. X-Git-Tag: emacs-pretest-23.0.90~10374 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b7513e304e2acd4503b454c7507bba8fb5a8562;p=emacs.git (top level): Use mapc rather than mapcar. --- diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 860893bcfa6..db052c4b8f5 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el @@ -2595,7 +2595,7 @@ sentence motion in or near comments and multiline strings." ;; set up electric character functions to work with pending-del, ;; (a.k.a. delsel) mode. All symbols get the t value except ;; the functions which delete, which gets 'supersede. -(mapcar +(mapc (function (lambda (sym) (put sym 'delete-selection t) ; for delsel (Emacs)