summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cpp.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-05-20 18:48:58 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-05-20 18:48:58 +0000
commit4ead48d7c5f13748750c0aa7319d5b501a8ed947 (patch)
tree4d31236ede50848c459d984d250d488b769018b1 /lisp/progmodes/cpp.el
parent725349c8624a73f2901a7dc446236c3cc70b81b1 (diff)
downloademacs-4ead48d7c5f13748750c0aa7319d5b501a8ed947.tar.gz
(cpp-choose-symbol): Don't cons unnecessarily.
Diffstat (limited to 'lisp/progmodes/cpp.el')
-rw-r--r--lisp/progmodes/cpp.el2
1 files changed, 1 insertions, 1 deletions
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.