unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21728: 25.0.50; [patch] mention focus-{in,out}-hook in manual
@ 2015-10-21 18:48 Aaron Ecay
  2015-10-21 18:57 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Aaron Ecay @ 2015-10-21 18:48 UTC (permalink / raw)
  To: 21728

[-- Attachment #1: Type: text/plain, Size: 261 bytes --]


The emacs lisp reference doesn’t mention focus-in-hook and its -out-
variant, except in a list of hooks.  Yet it contains some discussion of
focus events.  To make it clear that the hooks exist, I’ve added a
reference to them in the attached patch.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-lispref-commands.texi-Focus-Events-Mention-focus.patch --]
[-- Type: text/x-diff, Size: 894 bytes --]

From f89a1bc9d70170f77c85ca447b8a8c3efa6f1ccd Mon Sep 17 00:00:00 2001
From: Aaron Ecay <aaronecay@gmail.com>
Date: Wed, 21 Oct 2015 19:38:23 +0100
Subject: [PATCH] doc/lispref/commands.texi (Focus Events): Mention
 `focus-{in,out}-hook'.

* doc/lispref/commands.texi (Focus Events): Mention `focus-{in,out}-hook'.
---
 doc/lispref/commands.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 7ddf5ee..1aee2b5 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -1682,6 +1682,9 @@ Focus Events
 so that the focus event comes either before or after the multi-event key
 sequence, and not within it.
 
+Another facility that Emacs provides for running lisp code on focus
+changes is @code{focus-in-hook} and @code{focus-out-hook}.
+
 @node Misc Events
 @subsection Miscellaneous System Events
 
-- 
2.6.1


[-- Attachment #3: Type: text/plain, Size: 67 bytes --]


(I have a copyright assignment on file.)

Thanks,

-- 
Aaron Ecay

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-23 17:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-21 18:48 bug#21728: 25.0.50; [patch] mention focus-{in,out}-hook in manual Aaron Ecay
2015-10-21 18:57 ` Eli Zaretskii
2016-02-23  5:31   ` Lars Ingebrigtsen
2016-02-23 15:59     ` Eli Zaretskii
2016-02-23 17:44       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).