aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/gnus-util.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index de01fb2db11..8a6e8fa71cb 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -35,6 +35,9 @@
35 35
36;;; Code: 36;;; Code:
37 37
38;; For Emacs < 22.2.
39(eval-and-compile
40 (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
38(eval-when-compile 41(eval-when-compile
39 (require 'cl)) 42 (require 'cl))
40;; Fixme: this should be a gnus variable, not nnmail-. 43;; Fixme: this should be a gnus variable, not nnmail-.
@@ -987,6 +990,9 @@ with potentially long computations."
987(defvar rmail-default-rmail-file) 990(defvar rmail-default-rmail-file)
988(defvar mm-text-coding-system) 991(defvar mm-text-coding-system)
989 992
993(declare-function mm-append-to-file "mm-util"
994 (start end filename &optional codesys inhibit))
995
990(defun gnus-output-to-rmail (filename &optional ask) 996(defun gnus-output-to-rmail (filename &optional ask)
991 "Append the current article to an Rmail file named FILENAME." 997 "Append the current article to an Rmail file named FILENAME."
992 (require 'rmail) 998 (require 'rmail)
@@ -1515,6 +1521,8 @@ CHOICE is a list of the choice char and help message at IDX."
1515 (kill-buffer buf)) 1521 (kill-buffer buf))
1516 tchar)) 1522 tchar))
1517 1523
1524(declare-function w32-focus-frame "../term/w32-win" (frame))
1525
1518(defun gnus-select-frame-set-input-focus (frame) 1526(defun gnus-select-frame-set-input-focus (frame)
1519 "Select FRAME, raise it, and set input focus, if possible." 1527 "Select FRAME, raise it, and set input focus, if possible."
1520 (cond ((featurep 'xemacs) 1528 (cond ((featurep 'xemacs)