emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/debbugs 10f4c37 090/311: Clear up the current limit whe


From: Stefan Monnier
Subject: [elpa] externals/debbugs 10f4c37 090/311: Clear up the current limit when narrowing.
Date: Sun, 29 Nov 2020 18:41:47 -0500 (EST)

branch: externals/debbugs
commit 10f4c37f3e8fcda79020bdd4f26f4b7e57a6b6ba
Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
Commit: Lars Magne Ingebrigtsen <larsi@gnus.org>

    Clear up the current limit when narrowing.
    
    Also used `inhibit-read-only' instead of `buffer-read-only'.
---
 debbugs-gnu.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index 1621a34..cc95991 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -851,7 +851,7 @@ The following commands are available:
   "Display all the currently selected bug reports."
   (interactive)
   (let ((id (debbugs-gnu-current-id t))
-       (buffer-read-only nil))
+       (inhibit-read-only t))
     (setq debbugs-gnu-current-limit nil)
     (tabulated-list-init-header)
     (tabulated-list-print)
@@ -864,8 +864,9 @@ If STATUS-ONLY (the prefix), ignore matches in the From and
 Subject fields."
   (interactive "sNarrow to: \np")
   (let ((id (debbugs-gnu-current-id t))
-       (buffer-read-only nil)
+       (inhibit-read-only t)
        status)
+    (setq debbugs-gnu-current-limit nil)
     (goto-char (point-min))
     (while (not (eobp))
       (setq status (debbugs-gnu-current-status))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]