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
117fdd32
Commit
117fdd32
authored
Sep 10, 2009
by
Glenn Morris
Browse files
(easy-mmode-defmap): Add doc-string.
parent
a4723629
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lisp/emacs-lisp/easy-mmode.el
lisp/emacs-lisp/easy-mmode.el
+5
-2
No files found.
lisp/emacs-lisp/easy-mmode.el
View file @
117fdd32
;;; easy-mmode.el --- easy definition for major and minor modes
;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, 2005,
;;
2006, 2007,
2008, 2009 Free Software Foundation, Inc.
;; Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007,
;; 2008, 2009
Free Software Foundation, Inc.
;; Author: Georges Brun-Cottan <Georges.Brun-Cottan@inria.fr>
;; Maintainer: Stefan Monnier <monnier@gnu.org>
...
...
@@ -452,6 +452,9 @@ Valid keywords and arguments are:
;;;###autoload
(
defmacro
easy-mmode-defmap
(
m
bs
doc
&rest
args
)
"Define a constant M whose value is the result of `easy-mmode-define-keymap'.
The M, BS, and ARGS arguments are as per that function. DOC is
the constant's documentation."
`
(
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