Commit 7c2ef733 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(c-set-style): Don't specify initial contents for completing-read.

parent cb615a61
......@@ -302,8 +302,9 @@ done internally by CC Mode, there's hardly ever a reason to use it."
(prompt (format "Which %s indentation style? "
mode-name)))
(completing-read prompt c-style-alist nil t
(cons c-indentation-style 0)
'c-set-style-history))))
nil
'c-set-style-history
c-indentation-style))))
(c-initialize-builtin-style)
(let ((vars (c-get-style-variables stylename nil)))
(mapcar (lambda (elem)
......
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