+2008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * gnus-util.el (ns-focus-frame): Remove declaration.
+ (gnus-select-frame-set-input-focus): Undo previous change. Treat ns
+ like x.
+
2008-07-21 Thien-Thi Nguyen <ttn@gnuvola.org>
* rfc2104.el (rfc2104-zero): Delete defconst.
(declare-function x-focus-frame "xfns.c" (frame))
(declare-function w32-focus-frame "../term/w32-win" (frame))
-(declare-function ns-focus-frame "nsfns.m" (frame))
(defun gnus-select-frame-set-input-focus (frame)
"Select FRAME, raise it, and set input focus, if possible."
(t
(raise-frame frame)
(select-frame frame)
- (cond ((memq window-system '(x mac))
+ (cond ((memq window-system '(x ns mac))
(x-focus-frame frame))
((eq window-system 'w32)
- (w32-focus-frame frame))
- ((eq window-system 'ns)
- (ns-focus-frame frame)))
+ (w32-focus-frame frame)))
(when focus-follows-mouse
(set-mouse-position frame (1- (frame-width frame)) 0)))))