mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
Documentation for focus-in,out hooks (tiny change)
* doc/lispref/frames.texi (Input Focus): * doc/lispref/hooks.texi (Standard Hooks): Mention focus-in-hook, focus-out-hook. * etc/NEWS: Copyedit.
This commit is contained in:
parent
a594a11662
commit
f6083c67c5
@ -1,3 +1,8 @@
|
||||
2013-11-23 Brian Jenkins <brian@brianjenkins.org> (tiny change)
|
||||
|
||||
* frames.texi (Input Focus):
|
||||
* hooks.texi (Standard Hooks): Mention focus-in-hook, focus-out-hook.
|
||||
|
||||
2013-11-23 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* loading.texi (Library Search):
|
||||
|
@ -1479,6 +1479,14 @@ The redirection lasts until @code{redirect-frame-focus} is called to
|
||||
change it.
|
||||
@end defun
|
||||
|
||||
@defvar focus-in-hook
|
||||
This is a normal hook run when an Emacs frame gains input focus.
|
||||
@end defvar
|
||||
|
||||
@defvar focus-out-hook
|
||||
This is a normal hook run when an Emacs frame loses input focus.
|
||||
@end defvar
|
||||
|
||||
@defopt focus-follows-mouse
|
||||
This option is how you inform Emacs whether the window manager transfers
|
||||
focus when the user moves the mouse. Non-@code{nil} says that it does.
|
||||
|
@ -115,6 +115,12 @@ Function to call to ``quit'' the current buffer.
|
||||
@vindex delayed-warnings-hook
|
||||
The command loop runs this soon after @code{post-command-hook} (q.v.).
|
||||
|
||||
@item focus-in-hook
|
||||
@vindex focus-in-hook
|
||||
@itemx focus-out-hook
|
||||
@vindex focus-out-hook
|
||||
@xref{Input Focus}.
|
||||
|
||||
@item delete-frame-functions
|
||||
@xref{Deleting Frames}.
|
||||
|
||||
|
1
etc/NEWS
1
etc/NEWS
@ -176,6 +176,7 @@ Generic commands are interactive functions whose implementation can be
|
||||
selected among several alternatives, as a matter of user preference.
|
||||
|
||||
** New hooks `focus-in-hook', `focus-out-hook'.
|
||||
These are normal hooks run when an Emacs frame gains or loses input focus.
|
||||
|
||||
** The blink cursor stops blinking after 10 blinks (default) on X and NS.
|
||||
You can change the default by customizing the variable blink-cursor-blinks.
|
||||
|
Loading…
Reference in New Issue
Block a user