[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-styles.el [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-styles.el [lexbind] |
Date: |
Sat, 04 Sep 2004 05:42:59 -0400 |
Index: emacs/lisp/progmodes/cc-styles.el
diff -c emacs/lisp/progmodes/cc-styles.el:1.25.2.2
emacs/lisp/progmodes/cc-styles.el:1.25.2.3
*** emacs/lisp/progmodes/cc-styles.el:1.25.2.2 Tue Oct 14 23:30:16 2003
--- emacs/lisp/progmodes/cc-styles.el Sat Sep 4 09:22:57 2004
***************
*** 355,360 ****
--- 355,362 ----
(completing-read prompt c-style-alist nil t
(cons c-indentation-style 0)
'c-set-style-history))))))
+ (or (stringp stylename)
+ (error "Argument to c-set-style was not a string"))
(c-initialize-builtin-style)
(let ((vars (c-get-style-variables stylename nil)))
(unless dont-override
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-styles.el [lexbind],
Miles Bader <=