Commit 4ead48d7 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(cpp-choose-symbol): Don't cons unnecessarily.

parent 725349c8
......@@ -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
(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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment