From: Richard M. Stallman Date: Sat, 23 Jun 2001 16:22:04 +0000 (+0000) Subject: (c-set-style): Don't specify initial contents for completing-read. X-Git-Tag: emacs-pretest-21.0.104~169 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c2ef7338d9c68583a99e9e584140c6d4a03d08b;p=emacs.git (c-set-style): Don't specify initial contents for completing-read. --- 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)