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
b6b7eda9
Commit
b6b7eda9
authored
Nov 21, 2001
by
Stefan Monnier
Browse files
(define-derived-mode): Create the abbrev-table from inside the `defvar'.
parent
0b5549c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/derived.el
lisp/derived.el
+2
-2
No files found.
lisp/derived.el
View file @
b6b7eda9
...
...
@@ -161,8 +161,8 @@ been generated automatically, with a reference to the keymap."
`
(
progn
(
defvar
,
map
(
make-sparse-keymap
))
(
defvar
,
syntax
(
make-syntax-table
))
(
defvar
,
abbrev
)
(
define-abbrev-table
',abbrev
nil
)
(
defvar
,
abbrev
(
progn
(
define-abbrev-table
',abbrev
nil
)
,
abbrev
))
(
put
',child
'derived-mode-parent
',parent
)
(
defun
,
child
()
...
...
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