From: Stefan Monnier Date: Mon, 20 May 2002 18:48:58 +0000 (+0000) Subject: (cpp-choose-symbol): Don't cons unnecessarily. X-Git-Tag: ttn-vms-21-2-B4~14945 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ead48d7c5f13748750c0aa7319d5b501a8ed947;p=emacs.git (cpp-choose-symbol): Don't cons unnecessarily. --- diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el index 743f5545361..6e4c8d1f457 100644 --- a/lisp/progmodes/cpp.el +++ b/lisp/progmodes/cpp.el @@ -676,7 +676,7 @@ BRANCH should be either nil (false branch), t (true branch) or 'both." ;; Choose a symbol if called from keyboard, otherwise use the one clicked on. (if cpp-button-event cpp-callback-data - (completing-read "Symbol: " (mapcar 'list cpp-edit-symbols) nil t))) + (completing-read "Symbol: " cpp-edit-symbols nil t))) (defun cpp-choose-branch () ;; Choose a branch, either nil, t, or both.