summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-uu.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-04-13 21:30:27 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-04-13 21:30:27 -0400
commite192281baae377a8702f3c048fce988d63ccfc1a (patch)
tree02e1ef1379960091d084eaf8a1a1871b28f542b2 /lisp/gnus/gnus-uu.el
parent56dfd3de9c63dbb6325129de8e38c420808146c9 (diff)
downloademacs-e192281baae377a8702f3c048fce988d63ccfc1a.tar.gz
emacs-e192281baae377a8702f3c048fce988d63ccfc1a.tar.bz2
emacs-e192281baae377a8702f3c048fce988d63ccfc1a.zip
(gnus-group--setup-tool-bar-update): Fix last change
* lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update): cursor-sensor-functions should be a list of functions.
Diffstat (limited to 'lisp/gnus/gnus-uu.el')
-rw-r--r--lisp/gnus/gnus-uu.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-uu.el b/lisp/gnus/gnus-uu.el
index 55a881c7d18..f5d44959391 100644
--- a/lisp/gnus/gnus-uu.el
+++ b/lisp/gnus/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)