aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDmitry Antipov2013-09-13 20:46:18 +0400
committerDmitry Antipov2013-09-13 20:46:18 +0400
commitfcd42c11c0e0e5fa3ab931ad2126b1d855ba240f (patch)
tree292f51c029f5651ef19e3058132385c9b03f15a3 /lisp
parentbc2c0769db73f5acd7545b4c3f74cae29e4e4315 (diff)
downloademacs-fcd42c11c0e0e5fa3ab931ad2126b1d855ba240f.tar.gz
emacs-fcd42c11c0e0e5fa3ab931ad2126b1d855ba240f.zip
Unify Fx_focus_frame between all ports.
* src/frame.h (x_focus_frame): New prototype. * src/xfns.c (Fx_focus_frame): Remove. (syms_of_xfns): Do not defsubr it. (x_focus_frame): X implementation. * src/nsfns.m (Fx_focus_frame): Remove. (syms_of_nsfns): Do not defsubr it. (x_focus_frame): NS implementation. * src/w32term.c (Fx_focus_frame): Remove. (x_focus_on_frame): Rename to... (x_focus_frame): W32 implementation. * src/w32term.h (x_focus_on_frame): Remove prototype. * src/w32fns.c (Fx_focus_frame): Remove. (syms_of_w32fns): Do not defsubr it. * src/frame.c (Fx_focus_frame): Define here. (syms_of_frame): Defsubr here. * src/gtkutil.c (xg_tool_bar_callback): Use x_focus_frame. * lisp/frame.el (x-focus-frame): Mark as declared in frame.c.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/frame.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 649e3a3b01c..aa17b9328c4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * frame.el (x-focus-frame): Mark as declared in frame.c.
4
12013-09-13 Stefan Monnier <monnier@iro.umontreal.ca> 52013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * ls-lisp.el: Use advice-add. 7 * ls-lisp.el: Use advice-add.
diff --git a/lisp/frame.el b/lisp/frame.el
index 3668f24ba01..74149a8dc01 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -759,7 +759,7 @@ the user during startup."
759 (nreverse frame-initial-geometry-arguments)) 759 (nreverse frame-initial-geometry-arguments))
760 (cdr param-list)) 760 (cdr param-list))
761 761
762(declare-function x-focus-frame "xfns.c" (frame)) 762(declare-function x-focus-frame "frame.c" (frame))
763 763
764(defun select-frame-set-input-focus (frame &optional norecord) 764(defun select-frame-set-input-focus (frame &optional norecord)
765 "Select FRAME, raise it, and set input focus, if possible. 765 "Select FRAME, raise it, and set input focus, if possible.