Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fd186f07
Commit
fd186f07
authored
Mar 05, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fkill_buffer, Fkill_all_local_variables):
Don't call Vrun_hooks if it is nil.
parent
8746da95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/buffer.c
src/buffer.c
+4
-2
No files found.
src/buffer.c
View file @
fd186f07
...
...
@@ -753,7 +753,8 @@ with `delete-process'.")
}
/* Then run the hooks. */
call1
(
Vrun_hooks
,
Qkill_buffer_hook
);
if
(
!
NILP
(
Vrun_hooks
))
call1
(
Vrun_hooks
,
Qkill_buffer_hook
);
unbind_to
(
count
,
Qnil
);
}
...
...
@@ -1211,7 +1212,8 @@ a non-nil `permanent-local' property are not eliminated by this function.")
register
Lisp_Object
alist
,
sym
,
tem
;
Lisp_Object
oalist
;
call1
(
Vrun_hooks
,
intern
(
"change-major-mode-hook"
));
if
(
!
NILP
(
Vrun_hooks
))
call1
(
Vrun_hooks
,
intern
(
"change-major-mode-hook"
));
oalist
=
current_buffer
->
local_var_alist
;
/* Make sure no local variables remain set up with this buffer
...
...
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