# HG changeset patch # User Stefan Monnier # Date 1021920538 0 # Node ID 7505ed4a9b602a76cda2e1eb8e441096542f5805 # Parent d207a1784c9e591c913577257254fc4afe1e7b8a (cpp-choose-symbol): Don't cons unnecessarily. diff -r d207a1784c9e -r 7505ed4a9b60 lisp/progmodes/cpp.el --- 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.