[gnus git] branch master updated: m0-5-46-gca6a7ca =1= nnimap: fix window-point-insertion-type for XEmacs
Julien Danjou <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via ca6a7cad961ef39b97fad1d06007246df5dbe47a (commit)
from d01dfd74710db457f544c20ad21143ce5087e22b (commit)
- Log -----------------------------------------------------------------
commit ca6a7cad961ef39b97fad1d06007246df5dbe47a
Author: Julien Danjou <[email protected]>
Date: Tue Jun 19 14:47:26 2012 +0200
nnimap: fix window-point-insertion-type for XEmacs
Signed-off-by: Julien Danjou <[email protected]>
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d97969c..323ac09 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2012-06-19 Julien Danjou <[email protected]>
+
+ * nnimap.el (nnimap-log-buffer): Check that
+ `window-point-insertion-type' is boundp, since it's not available in
+ XEmacs.
+
2012-06-19 Michael Welsh Duggan <[email protected]> (tiny change)
* nnimap.el (nnimap-log-buffer): Add this, setting
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index e68570e..0669563 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -1755,8 +1755,9 @@ if READ-ONLY is set, send EXAMINE rather than SELECT to the server."
(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 window-point-insertion-type t))
(current-buffer)))))
(defun nnimap-log-command (command)
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 6 ++++++
lisp/nnimap.el | 5 +++--
2 files changed, 9 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project