changeset 45431:7505ed4a9b60

(cpp-choose-symbol): Don't cons unnecessarily.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 20 May 2002 18:48:58 +0000
parents d207a1784c9e
children 85b978f04df7
files lisp/progmodes/cpp.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cpp.el	Mon May 20 18:48:33 2002 +0000
+++ b/lisp/progmodes/cpp.el	Mon May 20 18:48:58 2002 +0000
@@ -676,7 +676,7 @@
   ;; 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.