]> git.eshelyaron.com Git - emacs.git/commitdiff
Add advertised calling convention for redirect-frame-focus (Bug#12030).
authorMartin Rudalics <rudalics@gmx.at>
Wed, 25 Jul 2012 09:34:48 +0000 (11:34 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 25 Jul 2012 09:34:48 +0000 (11:34 +0200)
* frame.c (Fredirect_frame_focus): In doc-string don't mention
that FOCUS-FRAME can be omitted.

* subr.el (redirect-frame-focus): Add advertised calling
convention (Bug#12030).

lisp/ChangeLog
lisp/subr.el
src/ChangeLog
src/frame.c

index 95b69ec771201582b8f8dccbbdb38c433ba8add9..5dbd7fb4bf196c48e9def634cb1335dd9fe1b20c 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * subr.el (redirect-frame-focus): Add advertised calling
+       convention (Bug#12030).
+
 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
 
        Prefer typical American spelling for "acknowledgment".
 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
 
        * window.el (quit-window): Always restore window height when
-       it's saved in quit-restore parameter.
+       it's saved in quit-restore parameter (Bug#11810).
 
 2012-07-06  Glenn Morris  <rgm@gnu.org>
 
index 0afe33c6a4cba5e34ef80f72d76136b88dc70bcb..882ad3cd23d3d4edc0e93ef634cd5c43e9680717 100644 (file)
@@ -1184,6 +1184,7 @@ is converted into a string by expressing it in decimal."
 (set-advertised-calling-convention
  'all-completions '(string collection &optional predicate) "23.1")
 (set-advertised-calling-convention 'unintern '(name obarray) "23.3")
+(set-advertised-calling-convention 'redirect-frame-focus '(frame focus-frame) "24.2")
 \f
 ;;;; Obsolescence declarations for variables, and aliases.
 
index 2c82af88f93f657b2081a6a717271426d730b838..1e9e65192f7a135da120f0080698ec0acedd9be5 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * frame.c (Fredirect_frame_focus): In doc-string don't mention
+       that FOCUS-FRAME can be omitted.
+
 2012-07-25  Dmitry Antipov  <dmantipov@yandex.ru>
 
        Adjust buffer text indirection counters at the end of Fkill_buffer.
index bf2b180f2d39d6fe63f0971c30bbd2678ebd491b..07783bd8c07e3c8eb40c12eb47ac8af8bfabf862 100644 (file)
@@ -1874,8 +1874,8 @@ In other words, switch-frame events caused by events in FRAME will
 request a switch to FOCUS-FRAME, and `last-event-frame' will be
 FOCUS-FRAME after reading an event typed at FRAME.
 
-If FOCUS-FRAME is omitted or nil, any existing redirection is
-canceled, and the frame again receives its own keystrokes.
+If FOCUS-FRAME is nil, any existing redirection is canceled, and the
+frame again receives its own keystrokes.
 
 Focus redirection is useful for temporarily redirecting keystrokes to
 a surrogate minibuffer frame when a frame doesn't have its own