[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
From: |
Martin Stjernholm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-styles.el |
Date: |
Wed, 11 Aug 2004 12:41:59 -0400 |
Index: emacs/lisp/progmodes/cc-styles.el
diff -c emacs/lisp/progmodes/cc-styles.el:1.31
emacs/lisp/progmodes/cc-styles.el:1.32
*** emacs/lisp/progmodes/cc-styles.el:1.31 Wed Sep 24 13:56:27 2003
--- emacs/lisp/progmodes/cc-styles.el Wed Aug 11 16:22:21 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,
Martin Stjernholm <=