From: Glenn Morris Date: Tue, 19 Nov 2013 02:32:26 +0000 (-0500) Subject: * src/frame.c (Fhandle_focus_in, Fhandle_focus_out): Doc fixes. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~786 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d1c3af987154197ea2cbe0bbc3eb42c9466e2e9;p=emacs.git * src/frame.c (Fhandle_focus_in, Fhandle_focus_out): Doc fixes. --- diff --git a/src/ChangeLog b/src/ChangeLog index 43f966cdc3c..80952b76474 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-11-19 Glenn Morris + + * frame.c (Fhandle_focus_in, Fhandle_focus_out): Doc fixes. + 2013-11-19 Brian Jenkins (tiny change) Add hooks to run on gaining/losing focus. (Bug#15029) diff --git a/src/frame.c b/src/frame.c index fccb53e2436..fbfc7722681 100644 --- a/src/frame.c +++ b/src/frame.c @@ -892,7 +892,8 @@ DEFUN ("handle-focus-in", Fhandle_focus_in, Shandle_focus_in, 1, 1, "e", Focus in events are usually bound to this function. Focus in events occur when a frame has focus, but a switch-frame event is not generated. -This function checks if blink-cursor timers should be turned on again. */) +This function runs the hook `focus-in-hook'. +It also checks if blink-cursor timers should be turned on again. */) (Lisp_Object event) { Frun_hooks (1, &Qfocus_in_hook); @@ -903,7 +904,8 @@ DEFUN ("handle-focus-out", Fhandle_focus_out, Shandle_focus_out, 1, 1, "e", doc: /* Handle a focus-out event. Focus out events are usually bound to this function. Focus out events occur when no frame has focus. -This function checks if blink-cursor timers should be turned off. */) +This function runs the hook `focus-out-hook'. +It also checks if blink-cursor timers should be turned off. */) (Lisp_Object event) { Frun_hooks (1, &Qfocus_out_hook);