diff options
author | Adam Sjøgren <asjo@koldfront.dk> | 2015-03-08 22:45:06 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2015-03-08 22:45:06 +0000 |
commit | 6b134bcba9de5605086ee9382c0be13174480cac (patch) | |
tree | df971d220fb02d027d1ca65dcbdb80488ca4dd44 /lisp/gnus/gnus-notifications.el | |
parent | e991af9228af77356df1e4ce7e824d5140a3bf8a (diff) | |
download | emacs-6b134bcba9de5605086ee9382c0be13174480cac.tar.gz |
lisp/gnus/gnus-notifications.el (gnus-notifications-action): Replace x-focus-frame kludge by calling gnus-select-frame-set-input-focus
Diffstat (limited to 'lisp/gnus/gnus-notifications.el')
-rw-r--r-- | lisp/gnus/gnus-notifications.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-notifications.el b/lisp/gnus/gnus-notifications.el index 22dba3570a3..f73aac1f5b3 100644 --- a/lisp/gnus/gnus-notifications.el +++ b/lisp/gnus/gnus-notifications.el @@ -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 |