Fix for compilation on XEmacs of commit 4c012447.
authorAdam Sjøgren <asjo@koldfront.dk>
Sat, 7 Mar 2015 22:47:18 +0000 (23:47 +0100)
committerAdam Sjøgren <asjo@koldfront.dk>
Sat, 7 Mar 2015 22:47:18 +0000 (23:47 +0100)
lisp/gnus-notifications.el

index 7f8fd9e..22dba35 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 (window-system) (x-focus-frame (selected-frame))))
+               (when (and window-system (fboundp 'x-focus-frame)) (x-focus-frame (selected-frame))))
               ((string= key "mark-read")
                (gnus-update-read-articles
                 group