[gnus git] branch master updated: m0-11-218-g91a5028 =1= (gnus-group--setup-tool-bar-update): Fix last change

Katsumi <[email protected]> Tue, 14 Apr 2015 03:54:07 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  91a502818672a9fd471382f0e9077f7c7c0e4a6b (commit)
      from  f3d1cbd3cccde1ca543dfa74f7553471948d2025 (commit)


- Log -----------------------------------------------------------------
commit 91a502818672a9fd471382f0e9077f7c7c0e4a6b
Author: Stefan Monnier <[email protected]>
Date:   Tue Apr 14 01:53:40 2015 +0000

    (gnus-group--setup-tool-bar-update): Fix last change
    
    * gnus-group.el (gnus-group--setup-tool-bar-update):
    cursor-sensor-functions should be a list of functions.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b175f3d..6b720dc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-14  Stefan Monnier  <[email protected]>
+
+	* gnus-group.el (gnus-group--setup-tool-bar-update):
+	cursor-sensor-functions should be a list of functions.
+
 2015-04-13  Stefan Monnier  <[email protected]>
 
 	* gnus-group.el (gnus-tmp-*): Declare.
diff --git a/lisp/gnus-group.el b/lisp/gnus-group.el
index 8e8d175..ff839d7 100644
--- a/lisp/gnus-group.el
+++ b/lisp/gnus-group.el
@@ -1625,7 +1625,7 @@ if it is a string, only list groups matching REGEXP."
           (unless (bound-and-true-p cursor-sensor-mode)
             (cursor-sensor-mode 1))
           (gnus-put-text-property beg end 'cursor-sensor-functions
-                                  #'gnus-tool-bar-update))
+                                  '(gnus-tool-bar-update)))
       (gnus-put-text-property beg end 'point-entered
                               #'gnus-tool-bar-update)
       (gnus-put-text-property beg end 'point-left
diff --git a/lisp/gnus-uu.el b/lisp/gnus-uu.el
index 55a881c..f5d4495 100644
--- a/lisp/gnus-uu.el
+++ b/lisp/gnus-uu.el
@@ -875,8 +875,13 @@ When called interactively, prompt for REGEXP."
 	(goto-char (setq beg (point-max)))
 	(save-excursion
 	  (save-restriction
+            ;; FIXME: We save excursion and restriction in "*gnus-uu-body*",
+            ;; only to immediately move to another buffer?  And we narrow in
+            ;; that buffer without save-restriction?  And we finish the
+            ;; save-restriction with a call to `widen'?  How can that
+            ;; make sense?
 	    (set-buffer buffer)
-	    (let (buffer-read-only)
+	    (let ((inhibit-read-only t))
 	      (set-text-properties (point-min) (point-max) nil)
 	      ;; These two are necessary for XEmacs 19.12 fascism.
 	      (put-text-property (point-min) (point-max) 'invisible nil)

-----------------------------------------------------------------------
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     |    5 +++++
 lisp/gnus-group.el |    2 +-
 lisp/gnus-uu.el    |    7 ++++++-
 3 files changed, 12 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