Commit eaa6bc3c authored by Glenn Morris's avatar Glenn Morris
Browse files

Tiny clarification for markers.texi

* doc/lispref/markers.texi (The Mark):
Tiny clarification re command loop and activate-mark-hook.
parent 6612a284
2012-03-07 Glenn Morris <rgm@gnu.org>
* markers.texi (The Region):
Briefly mention use-empty-active-region and region-active-p.
* markers.texi (The Region): Briefly mention use-empty-active-region
and region-active-p.
(Overview of Markers): Reword garbage collection, add cross-ref.
(The Mark): Tiny clarification re command loop and activate-mark-hook.
2012-03-07 Chong Yidong <cyd@gnu.org>
......
......@@ -595,8 +595,16 @@ the function @code{use-region-p} for that (@pxref{The Region}).
@defvarx deactivate-mark-hook
These normal hooks are run, respectively, when the mark becomes active
and when it becomes inactive. The hook @code{activate-mark-hook} is
also run at the end of a command if the mark is active and it is
possible that the region may have changed.
also run at the end of the command loop if the mark is active and it
is possible that the region may have changed.
@ignore
This piece of command_loop_1, run unless deactivating the mark:
if (current_buffer != prev_buffer || MODIFF != prev_modiff)
{
Lisp_Object hook = intern ("activate-mark-hook");
Frun_hooks (1, &hook);
}
@end ignore
@end defvar
@defun handle-shift-selection
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment