diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-05-20 13:47:16 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-05-20 13:47:53 +0200 |
commit | bfcff8f88a472bd1a64922da094cd007d3b7a70a (patch) | |
tree | bca1e5a94394de38a784f2104c0b9478d6a8610f /lisp/gnus/nnheader.el | |
parent | b552fc05c231ca6800330a318d3a74ddd0f5a13c (diff) | |
download | emacs-bfcff8f88a472bd1a64922da094cd007d3b7a70a.tar.gz emacs-bfcff8f88a472bd1a64922da094cd007d3b7a70a.tar.bz2 emacs-bfcff8f88a472bd1a64922da094cd007d3b7a70a.zip |
Mark nnheader-cancel-timer as obsolete and adjust callers
* lisp/gnus/nnheader.el (nnheader-cancel-timer)
(nnheader-cancel-function-timers): Mark as obsolete.
* lisp/gnus/nntp.el (nntp-with-open-group-function)
(nntp-async-stop): Adjust caller.
* lisp/gnus/gnus-art.el (gnus-stop-date-timer): Ditto.
* lisp/gnus/gnus-async.el (gnus-async-prefetch-next): Ditto.
* lisp/gnus/gnus-demon.el (gnus-demon-run-callback)
(gnus-demon-cancel): Ditto.
* lisp/gnus/mail-source.el (mail-source-report-new-mail): Ditto.
* lisp/gnus/nnmaildir.el (nnmaildir-request-accept-article): Ditto.
Diffstat (limited to 'lisp/gnus/nnheader.el')
-rw-r--r-- | lisp/gnus/nnheader.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el index 2686cf93055..bb870746d7e 100644 --- a/lisp/gnus/nnheader.el +++ b/lisp/gnus/nnheader.el @@ -970,7 +970,11 @@ See `find-file-noselect' for the arguments." (nnheader-skeleton-replace "\r")) (defalias 'nnheader-cancel-timer 'cancel-timer) +(define-obsolete-function-alias 'nnheader-cancel-timer 'cancel-timer "27.1") + (defalias 'nnheader-cancel-function-timers 'cancel-function-timers) +(define-obsolete-function-alias 'nnheader-cancel-function-timers + 'cancel-function-timers "27.1") ;; When changing this function, consider changing `pop3-accept-process-output' ;; as well. |