Commit c24a067e authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

message.el: Silent the byte compiler

* lisp/gnus/message.el (message-overlay-put, message-make-overlay)
(message-kill-all-overlays, message-overlays-in, message-overlay-get)
(message-delete-overlay, message-window-inside-pixel-edges):
Declare before using.
parent 0b67a200
......@@ -2005,6 +2005,22 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'."
(unless (fboundp 'mail-dont-reply-to)
(defalias 'mail-dont-reply-to 'rmail-dont-reply-to))
(eval-and-compile
(if (featurep 'emacs)
(progn
(defalias 'message-delete-overlay 'delete-overlay)
(defun message-kill-all-overlays ()
(mapcar #'delete-overlay (overlays-in (point-min) (point-max))))
(defalias 'message-make-overlay 'make-overlay)
(defalias 'message-overlay-get 'overlay-get)
(defalias 'message-overlay-put 'overlay-put)
(defalias 'message-overlays-in 'overlays-in)
(defalias 'message-window-inside-pixel-edges
'window-inside-pixel-edges))
(defun message-kill-all-overlays ()
(map-extents (lambda (extent ignore) (delete-extent extent))))
(defalias 'message-window-inside-pixel-edges 'ignore)))
;;;
......@@ -7885,20 +7901,6 @@ which specify the range to operate on."
(goto-char (prog1 (mark t)
(set-marker (mark-marker) (point)))))
(if (featurep 'emacs)
(progn
(defalias 'message-delete-overlay 'delete-overlay)
(defun message-kill-all-overlays ()
(mapcar #'delete-overlay (overlays-in (point-min) (point-max))))
(defalias 'message-make-overlay 'make-overlay)
(defalias 'message-overlay-get 'overlay-get)
(defalias 'message-overlay-put 'overlay-put)
(defalias 'message-overlays-in 'overlays-in)
(defalias 'message-window-inside-pixel-edges 'window-inside-pixel-edges))
(defun message-kill-all-overlays ()
(map-extents (lambda (extent ignore) (delete-extent extent))))
(defalias 'message-window-inside-pixel-edges 'ignore))
;; Support for toolbar
(defvar tool-bar-mode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment