aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2012-07-25 11:34:48 +0200
committerMartin Rudalics2012-07-25 11:34:48 +0200
commit8137e7b3165ea5dffc66a0a49f34716df0c00c2d (patch)
tree752e56d5285c790b10f21c107f8610d494d3f386
parent09ae5da1b8bc7e8195a4a252b532ac33e5723f93 (diff)
downloademacs-8137e7b3165ea5dffc66a0a49f34716df0c00c2d.tar.gz
emacs-8137e7b3165ea5dffc66a0a49f34716df0c00c2d.zip
Add advertised calling convention for redirect-frame-focus (Bug#12030).
* 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).
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/subr.el1
-rw-r--r--src/ChangeLog5
-rw-r--r--src/frame.c4
4 files changed, 14 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 95b69ec7712..5dbd7fb4bf1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-07-25 Martin Rudalics <rudalics@gmx.at>
2
3 * subr.el (redirect-frame-focus): Add advertised calling
4 convention (Bug#12030).
5
12012-07-25 Paul Eggert <eggert@cs.ucla.edu> 62012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Prefer typical American spelling for "acknowledgment". 8 Prefer typical American spelling for "acknowledgment".
@@ -570,7 +575,7 @@
5702012-07-06 Dmitry Gutov <dgutov@yandex.ru> 5752012-07-06 Dmitry Gutov <dgutov@yandex.ru>
571 576
572 * window.el (quit-window): Always restore window height when 577 * window.el (quit-window): Always restore window height when
573 it's saved in quit-restore parameter. 578 it's saved in quit-restore parameter (Bug#11810).
574 579
5752012-07-06 Glenn Morris <rgm@gnu.org> 5802012-07-06 Glenn Morris <rgm@gnu.org>
576 581
diff --git a/lisp/subr.el b/lisp/subr.el
index 0afe33c6a4c..882ad3cd23d 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1184,6 +1184,7 @@ is converted into a string by expressing it in decimal."
1184(set-advertised-calling-convention 1184(set-advertised-calling-convention
1185 'all-completions '(string collection &optional predicate) "23.1") 1185 'all-completions '(string collection &optional predicate) "23.1")
1186(set-advertised-calling-convention 'unintern '(name obarray) "23.3") 1186(set-advertised-calling-convention 'unintern '(name obarray) "23.3")
1187(set-advertised-calling-convention 'redirect-frame-focus '(frame focus-frame) "24.2")
1187 1188
1188;;;; Obsolescence declarations for variables, and aliases. 1189;;;; Obsolescence declarations for variables, and aliases.
1189 1190
diff --git a/src/ChangeLog b/src/ChangeLog
index 2c82af88f93..1e9e65192f7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-07-25 Martin Rudalics <rudalics@gmx.at>
2
3 * frame.c (Fredirect_frame_focus): In doc-string don't mention
4 that FOCUS-FRAME can be omitted.
5
12012-07-25 Dmitry Antipov <dmantipov@yandex.ru> 62012-07-25 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 Adjust buffer text indirection counters at the end of Fkill_buffer. 8 Adjust buffer text indirection counters at the end of Fkill_buffer.
diff --git a/src/frame.c b/src/frame.c
index bf2b180f2d3..07783bd8c07 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1874,8 +1874,8 @@ In other words, switch-frame events caused by events in FRAME will
1874request a switch to FOCUS-FRAME, and `last-event-frame' will be 1874request a switch to FOCUS-FRAME, and `last-event-frame' will be
1875FOCUS-FRAME after reading an event typed at FRAME. 1875FOCUS-FRAME after reading an event typed at FRAME.
1876 1876
1877If FOCUS-FRAME is omitted or nil, any existing redirection is 1877If FOCUS-FRAME is nil, any existing redirection is canceled, and the
1878canceled, and the frame again receives its own keystrokes. 1878frame again receives its own keystrokes.
1879 1879
1880Focus redirection is useful for temporarily redirecting keystrokes to 1880Focus redirection is useful for temporarily redirecting keystrokes to
1881a surrogate minibuffer frame when a frame doesn't have its own 1881a surrogate minibuffer frame when a frame doesn't have its own