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
34befa9a
Commit
34befa9a
authored
Nov 03, 2000
by
Stefan Monnier
Browse files
(easy-mmode-define-global-mode): Only turn mode off if it's on.
parent
ba22aeff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/emacs-lisp/easy-mmode.el
lisp/emacs-lisp/easy-mmode.el
+1
-1
No files found.
lisp/emacs-lisp/easy-mmode.el
View file @
34befa9a
...
...
@@ -270,7 +270,7 @@ in which `%s' turns it on."
;; Go through existing buffers.
(
dolist
(
buf
(
buffer-list
))
(
with-current-buffer
buf
(
if
,
global-mode
(
,
turn-on
)
(
,
mode
-1
)))))
(
if
,
global-mode
(
,
turn-on
)
(
when
,
mode
(
,
mode
-1
)))))
)
;; Autoloading easy-mmode-define-global-mode
;; autoloads everything up-to-here.
...
...
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