changeset 38167:728d49350f43

(c-set-style): Don't specify initial contents for completing-read.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Jun 2001 16:22:04 +0000
parents 4e1eed1dee4e
children 2b9edc97961c
files lisp/progmodes/cc-styles.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-styles.el	Sat Jun 23 16:19:29 2001 +0000
+++ b/lisp/progmodes/cc-styles.el	Sat Jun 23 16:22:04 2001 +0000
@@ -302,8 +302,9 @@
 			   (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)