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
5d78d57d
Commit
5d78d57d
authored
Sep 29, 2000
by
Stefan Monnier
Browse files
(easy-mmode-define-keymap): Autoload.
(easy-mmode-defmap): Remove the now useless autoload.
parent
57ce63c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
lisp/emacs-lisp/easy-mmode.el
lisp/emacs-lisp/easy-mmode.el
+4
-5
No files found.
lisp/emacs-lisp/easy-mmode.el
View file @
5d78d57d
...
...
@@ -283,6 +283,7 @@ in which `%s' turns it on."
(
easy-mmode-set-keymap-parents
m
parents
)
m
))))))
;;;###autoload
(
defun
easy-mmode-define-keymap
(
bs
&optional
name
m
args
)
"Return a keymap built from bindings BS.
BS must be a list of (KEY . BINDING) where
...
...
@@ -322,11 +323,9 @@ ARGS is a list of additional arguments."
;;;###autoload
(
defmacro
easy-mmode-defmap
(
m
bs
doc
&rest
args
)
`
(
progn
(
autoload
'easy-mmode-define-keymap
"easy-mmode"
)
(
defconst
,
m
(
easy-mmode-define-keymap
,
bs
nil
(
if
(
boundp
',m
)
,
m
)
,
(
cons
'list
args
))
,
doc
)))
`
(
defconst
,
m
(
easy-mmode-define-keymap
,
bs
nil
(
if
(
boundp
',m
)
,
m
)
,
(
cons
'list
args
))
,
doc
))
;;;
...
...
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