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
9fed2b18
Commit
9fed2b18
authored
Mar 05, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(save_excursion_restore): Don't call Vrun_hooks if nil.
parent
fd186f07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/editfns.c
src/editfns.c
+7
-4
No files found.
src/editfns.c
View file @
9fed2b18
...
...
@@ -324,10 +324,13 @@ save_excursion_restore (info)
tem1
=
current_buffer
->
mark_active
;
current_buffer
->
mark_active
=
Fcdr
(
tem
);
if
(
!
NILP
(
current_buffer
->
mark_active
))
call1
(
Vrun_hooks
,
intern
(
"activate-mark-hook"
));
else
if
(
!
NILP
(
tem1
))
call1
(
Vrun_hooks
,
intern
(
"deactivate-mark-hook"
));
if
(
!
NILP
(
Vrun_hooks
))
{
if
(
!
NILP
(
current_buffer
->
mark_active
))
call1
(
Vrun_hooks
,
intern
(
"activate-mark-hook"
));
else
if
(
!
NILP
(
tem1
))
call1
(
Vrun_hooks
,
intern
(
"deactivate-mark-hook"
));
}
return
Qnil
;
}
...
...
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