diff options
author | Richard M. Stallman <rms@gnu.org> | 2001-06-23 16:22:04 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2001-06-23 16:22:04 +0000 |
commit | 7c2ef7338d9c68583a99e9e584140c6d4a03d08b (patch) | |
tree | 2aa87f2029e9a28c9bb7fe943bef34d87068093e /lisp/progmodes/cc-styles.el | |
parent | cb615a61005ba55462c5007904caf36d7a24687a (diff) | |
download | emacs-7c2ef7338d9c68583a99e9e584140c6d4a03d08b.tar.gz |
(c-set-style): Don't specify initial contents for completing-read.
Diffstat (limited to 'lisp/progmodes/cc-styles.el')
-rw-r--r-- | lisp/progmodes/cc-styles.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el index 68591f125c0..a813056c51b 100644 --- a/lisp/progmodes/cc-styles.el +++ b/lisp/progmodes/cc-styles.el @@ -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) |