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
a2ed9670
Commit
a2ed9670
authored
Jan 25, 2001
by
Stefan Monnier
Browse files
(define-minor-mode): Docstring fix.
parent
7acd9c90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/easy-mmode.el
lisp/emacs-lisp/easy-mmode.el
+2
-2
No files found.
lisp/ChangeLog
View file @
a2ed9670
2001-01-25 Stefan Monnier <monnier@cs.yale.edu>
* emacs-lisp/easy-mmode.el (define-minor-mode): Docstring fix.
2001-01-25 Dave Love <fx@gnu.org>
* loadup.el: Preload international/ccl for utf-8.
...
...
lisp/emacs-lisp/easy-mmode.el
View file @
a2ed9670
...
...
@@ -144,14 +144,14 @@ BODY contains code that will be executed each time the mode is (dis)activated.
,
(
if
(
not
globalp
)
`
(
progn
(
defvar
,
mode
,
init-value
,
(
format
"Non-nil if %s is enabled.
Use the
function
`%s' to change this variable."
pretty-name
mode
))
Use the
command
`%s' to change this variable."
pretty-name
mode
))
(
make-variable-buffer-local
',mode
))
(
let
((
curfile
(
or
(
and
(
boundp
'byte-compile-current-file
)
byte-compile-current-file
)
load-file-name
)))
`
(
defcustom
,
mode
,
init-value
,
(
format
"
Toggle %s on or off
.
,
(
format
"
Non-nil if %s is enabled
.
See the command `%s' for a description of this minor-mode.
Setting this variable directly does not take effect;
use either \\[customize] or the function `%s'."
...
...
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