diff options
author | Martin Stjernholm <mast@lysator.liu.se> | 2004-08-11 16:22:21 +0000 |
---|---|---|
committer | Martin Stjernholm <mast@lysator.liu.se> | 2004-08-11 16:22:21 +0000 |
commit | 2a15eb73df90655c012a78713ae9b33278c3206e (patch) | |
tree | 4222cfd22e0556020b72cfbd6ab5992797e21e4f /lisp/progmodes/cc-styles.el | |
parent | 7c3225c3a606c9e81e98b2b1f414542aca21d36f (diff) | |
download | emacs-2a15eb73df90655c012a78713ae9b33278c3206e.tar.gz |
Updated CC Mode to 5.30.9.
Diffstat (limited to 'lisp/progmodes/cc-styles.el')
-rw-r--r-- | lisp/progmodes/cc-styles.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el index 13ffd310fce..1a26e54bf06 100644 --- a/lisp/progmodes/cc-styles.el +++ b/lisp/progmodes/cc-styles.el @@ -355,6 +355,8 @@ when used elsewhere." (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 |