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
326c43dc
Commit
326c43dc
authored
May 21, 1993
by
Richard M. Stallman
Browse files
(outline-minor-mode): Make var permanent local in all buffers.
Give the command a doc string.
parent
ab69b2fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lisp/textmodes/ooutline.el
lisp/textmodes/ooutline.el
+5
-0
No files found.
lisp/textmodes/ooutline.el
View file @
326c43dc
...
...
@@ -59,6 +59,8 @@ in the file it applies to.")
(
defvar
outline-minor-mode
nil
"Non-nil if using Outline mode as a minor mode of some other mode."
)
(
make-variable-buffer-local
'outline-minor-mode
)
(
put
'outline-minor-mode
'permanent-local
t
)
(
setq
minor-mode-alist
(
append
minor-mode-alist
(
list
'
(
outline-minor-mode
" Outl"
))))
...
...
@@ -135,6 +137,9 @@ Turning on outline mode calls the value of `text-mode-hook' and then of
minor-mode-map-alist
)))
(
defun
outline-minor-mode
(
&optional
arg
)
"Toggle Outline minor mode.
With arg, turn Outline minor mode on if arg is positive, off otherwise.
See the command `outline-mode' for more information on this mode."
(
interactive
"P"
)
(
setq
outline-minor-mode
(
if
(
null
arg
)
(
not
outline-minor-mode
)
...
...
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