From 2366c7036d0e784592904e94c1c5bfac37760659 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 14 Feb 2016 14:50:03 +1100 Subject: 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. --- lisp/gnus/nnimap.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lisp/gnus/nnimap.el') 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) -- cgit v1.2.3