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
ad5101a6
Commit
ad5101a6
authored
Nov 29, 2000
by
Dave Love
Browse files
add-hook change
parent
82d10c89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
lispref/modes.texi
lispref/modes.texi
+2
-5
No files found.
lispref/modes.texi
View file @
ad5101a6
...
...
@@ -2242,11 +2242,8 @@ argument @var{append} is non-@code{nil}, the new hook function goes at
the end of the hook list and will be executed last.
If @var{local} is non-@code{nil}, that says to make the new hook
function buffer-local in the current buffer. Before you can do this, you must
make the hook itself buffer-local by calling @code{make-local-hook}
(@strong{not} @code{make-local-variable}). If the hook itself is not
buffer-local, then the value of @var{local} makes no difference---the
hook function is always global.
function buffer-local in the current buffer and automatically calls
@code{make-local-hook} to make the hook itself buffer-local.
@end defun
@defun remove-hook hook function &optional local
...
...
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