]> git.eshelyaron.com Git - emacs.git/commitdiff
(cpp-choose-symbol): Don't cons unnecessarily.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 20 May 2002 18:48:58 +0000 (18:48 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 20 May 2002 18:48:58 +0000 (18:48 +0000)
lisp/progmodes/cpp.el

index 743f5545361fffe66875b45ab18e4566579ea9e9..6e4c8d1f457168debf7c1858144ae9e57ae93d4c 100644 (file)
@@ -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.