summaryrefslogtreecommitdiff
path: root/lisp/gnus/nnimap.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-14 14:50:03 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-14 14:50:03 +1100
commit2366c7036d0e784592904e94c1c5bfac37760659 (patch)
tree7ea2aff9042a4908b6fd28cb064c0c131b578cfe /lisp/gnus/nnimap.el
parentf3cdf9c23b79b242a6a313744686ed29cc16950b (diff)
downloademacs-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/nnimap.el')
-rw-r--r--lisp/gnus/nnimap.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index a53d6cd11c0..0e8fb669082 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -1885,9 +1885,7 @@ Return the server's response to the SELECT or EXAMINE command."
(let ((name "*imap log*"))
(or (get-buffer name)
(with-current-buffer (get-buffer-create name)
- (when (boundp 'window-point-insertion-type)
- (make-local-variable 'window-point-insertion-type)
- (setq window-point-insertion-type t))
+ (setq-local window-point-insertion-type t)
(current-buffer)))))
(defun nnimap-log-command (command)