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
5f6378ee
Commit
5f6378ee
authored
Apr 09, 2014
by
Stefan Monnier
Browse files
* src/keyboard.c (syms_of_keyboard): Make deactivate-mark buffer-local.
parent
22683580
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
etc/NEWS
etc/NEWS
+2
-0
src/ChangeLog
src/ChangeLog
+2
-0
src/keyboard.c
src/keyboard.c
+1
-0
No files found.
etc/NEWS
View file @
5f6378ee
...
...
@@ -74,6 +74,8 @@ protocols as well as for "telnet" and "ftp" are passed to Tramp.
**
inhibit
-
modification
-
hooks
now
also
inhibits
lock
-
file
checks
as
well
as
active
region
handling
.
**
deactivate
-
mark
is
now
buffer
-
local
.
*
Lisp
Changes
in
Emacs
24.5
...
...
src/ChangeLog
View file @
5f6378ee
2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
* keyboard.c (syms_of_keyboard): Make deactivate-mark buffer-local.
* insdel.c (prepare_to_modify_buffer_1): Cancel lock-file checks and
region handling (and don't call signal_before_change) if
inhibit_modification_hooks is set.
...
...
src/keyboard.c
View file @
5f6378ee
...
...
@@ -11381,6 +11381,7 @@ and tests the value when the command returns.
Buffer modification stores t in this variable. */);
Vdeactivate_mark = Qnil;
DEFSYM (Qdeactivate_mark, "deactivate-mark");
Fmake_variable_buffer_local (Qdeactivate_mark);
DEFVAR_LISP ("pre-command-hook", Vpre_command_hook,
doc: /* Normal hook run before each command is executed.
...
...
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