]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/gnus/gnus-notifications.el (gnus-notifications-action): Replace x-focus-frame...
authorAdam Sjøgren <asjo@koldfront.dk>
Sun, 8 Mar 2015 22:45:06 +0000 (22:45 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 8 Mar 2015 22:45:06 +0000 (22:45 +0000)
lisp/gnus/gnus-notifications.el

index 22dba3570a3e0fd76c8bf46b9da9d4de637451dd..f73aac1f5b37ce4c3f7295b07bf99ccfff25868a 100644 (file)
@@ -81,7 +81,7 @@ not get notifications."
             (article (nth 2 group-article)))
         (cond ((string= key "read")
                (gnus-fetch-group group (list article))
-               (when (and window-system (fboundp 'x-focus-frame)) (x-focus-frame (selected-frame))))
+               (gnus-select-frame-set-input-focus (selected-frame)))
               ((string= key "mark-read")
                (gnus-update-read-articles
                 group