[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nonsense in gnus-uu.el
From: |
Stefan Monnier |
Subject: |
Nonsense in gnus-uu.el |
Date: |
Fri, 10 Apr 2015 10:42:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Could someone fix the problem below?
Stefan
diff --git a/lisp/gnus/gnus-uu.el b/lisp/gnus/gnus-uu.el
index 55a881c..f5d4495 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)
- Nonsense in gnus-uu.el,
Stefan Monnier <=