Mercurial > emacs
diff lisp/progmodes/cpp.el @ 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 | eb0bdaed72a8 |
| children | 0d8b17d428b5 |
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.
