branch: externals/debbugs
commit 10f4c37f3e8fcda79020bdd4f26f4b7e57a6b6ba
Author: Lars Magne Ingebrigtsen <[email protected]>
Commit: Lars Magne Ingebrigtsen <[email protected]>

    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