* lisp/progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.

This commit is contained in:
Glenn Morris 2013-08-28 19:31:06 -04:00
parent f663baa7dd
commit 27be8d3996
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-08-28 Glenn Morris <rgm@gnu.org>
* progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el (repeat-complex-command--called-interactively-skip):

View file

@ -221,7 +221,7 @@ control). See \"cc-mode.el\" for more info."
;; Compatibility wrapper for `define-abbrev' which passes a non-nil
;; sixth argument for SYSTEM-FLAG in emacsen that support it
;; (currently only Emacs >= 21.2).
(let ((table (or (symbol-value name)
(let ((table (or (and (boundp name) (symbol-value name))
(progn (condition-case nil
(define-abbrev-table name nil doc)
(wrong-number-of-arguments ;E.g. Emacs<23.