Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
27be8d39
Commit
27be8d39
authored
Aug 28, 2013
by
Glenn Morris
Browse files
* lisp/progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
parent
f663baa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/progmodes/cc-mode.el
lisp/progmodes/cc-mode.el
+1
-1
No files found.
lisp/ChangeLog
View file @
27be8d39
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):
...
...
lisp/progmodes/cc-mode.el
View file @
27be8d39
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment