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
430663bc
Commit
430663bc
authored
May 26, 2005
by
Lute Kamstra
Browse files
(Man-mode): Use kill-all-local-variables and run-mode-hooks.
parent
9b5e13c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/man.el
lisp/man.el
+3
-2
No files found.
lisp/man.el
View file @
430663bc
...
...
@@ -1061,6 +1061,7 @@ The following variables may be of some use. Try
The following key bindings are currently in effect in the buffer:
\\{Man-mode-map}"
(
interactive
)
(
kill-all-local-variables
)
(
setq
major-mode
'Man-mode
mode-name
"Man"
buffer-auto-save-file-name
nil
...
...
@@ -1069,7 +1070,7 @@ The following key bindings are currently in effect in the buffer:
" {"
'Man-page-mode-string
"}"
)
truncate-lines
t
buffer-read-only
t
)
(
buffer-disable-undo
(
current-buffer
)
)
(
buffer-disable-undo
)
(
auto-fill-mode
-1
)
(
use-local-map
Man-mode-map
)
(
set-syntax-table
man-mode-syntax-table
)
...
...
@@ -1080,7 +1081,7 @@ The following key bindings are currently in effect in the buffer:
(
Man-strip-page-headers
)
(
Man-unindent
)
(
Man-goto-page
1
)
(
run-hooks
'Man-mode-hook
))
(
run-
mode-
hooks
'Man-mode-hook
))
(
defsubst
Man-build-section-alist
()
"Build the association list of manpage sections."
...
...
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