diff options
| author | Adam Sjøgren | 2015-03-08 22:45:06 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2015-03-08 22:45:06 +0000 |
| commit | 6b134bcba9de5605086ee9382c0be13174480cac (patch) | |
| tree | df971d220fb02d027d1ca65dcbdb80488ca4dd44 | |
| parent | e991af9228af77356df1e4ce7e824d5140a3bf8a (diff) | |
| download | emacs-6b134bcba9de5605086ee9382c0be13174480cac.tar.gz emacs-6b134bcba9de5605086ee9382c0be13174480cac.zip | |
lisp/gnus/gnus-notifications.el (gnus-notifications-action): Replace x-focus-frame kludge by calling gnus-select-frame-set-input-focus
| -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." | |||
| 81 | (article (nth 2 group-article))) | 81 | (article (nth 2 group-article))) |
| 82 | (cond ((string= key "read") | 82 | (cond ((string= key "read") |
| 83 | (gnus-fetch-group group (list article)) | 83 | (gnus-fetch-group group (list article)) |
| 84 | (when (and window-system (fboundp 'x-focus-frame)) (x-focus-frame (selected-frame)))) | 84 | (gnus-select-frame-set-input-focus (selected-frame))) |
| 85 | ((string= key "mark-read") | 85 | ((string= key "mark-read") |
| 86 | (gnus-update-read-articles | 86 | (gnus-update-read-articles |
| 87 | group | 87 | group |