diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-14 14:50:03 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-14 14:50:03 +1100 |
commit | 2366c7036d0e784592904e94c1c5bfac37760659 (patch) | |
tree | 7ea2aff9042a4908b6fd28cb064c0c131b578cfe /lisp/gnus/nnheader.el | |
parent | f3cdf9c23b79b242a6a313744686ed29cc16950b (diff) | |
download | emacs-2366c7036d0e784592904e94c1c5bfac37760659.tar.gz emacs-2366c7036d0e784592904e94c1c5bfac37760659.tar.bz2 emacs-2366c7036d0e784592904e94c1c5bfac37760659.zip |
Remove compat code in Gnus backends
* lisp/gnus/nndiary.el (nndiary-error): Remove.
* lisp/gnus/nndraft.el (nndraft-request-associate-buffer): Ditto.
* lisp/gnus/nnfolder.el (nnfolder-read-folder): Ditto.
* lisp/gnus/nnheader.el (nnheader-find-file-noselect): Ditto.
* lisp/gnus/nnimap.el (nnimap-log-buffer): Remove compat code.
Diffstat (limited to 'lisp/gnus/nnheader.el')
-rw-r--r-- | lisp/gnus/nnheader.el | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el index 42dfcb30006..9f4d1b9334c 100644 --- a/lisp/gnus/nnheader.el +++ b/lisp/gnus/nnheader.el @@ -980,14 +980,8 @@ See `find-file-noselect' for the arguments." (enable-local-eval nil) (coding-system-for-read nnheader-file-coding-system) (version-control 'never) - (ffh (if (boundp 'find-file-hook) - 'find-file-hook - 'find-file-hooks)) - (val (symbol-value ffh))) - (set ffh nil) - (unwind-protect - (apply 'find-file-noselect args) - (set ffh val)))) + (find-file-hook nil)) + (apply 'find-file-noselect args))) (defun nnheader-directory-regular-files (dir) "Return a list of all regular files in DIR." |