]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-set-style): Don't specify initial contents for completing-read.
authorRichard M. Stallman <rms@gnu.org>
Sat, 23 Jun 2001 16:22:04 +0000 (16:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 23 Jun 2001 16:22:04 +0000 (16:22 +0000)
lisp/progmodes/cc-styles.el

index 68591f125c0d2c0a31dc791daa343d3df3dd2fb4..a813056c51b4b91d81ef06b8c86f3e1e53fa7f55 100644 (file)
@@ -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)