emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#31139: closed ([PATCH] Document Narrow indicator i


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31139: closed ([PATCH] Document Narrow indicator in describe-mode)
Date: Sat, 05 May 2018 09:45:02 +0000

Your message dated Sat, 05 May 2018 12:44:27 +0300
with message-id <address@hidden>
and subject line Re: bug#31139: [PATCH] Document Narrow indicator in 
describe-mode
has caused the debbugs.gnu.org bug report #31139,
regarding [PATCH] Document Narrow indicator in describe-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31139: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31139
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] Document Narrow indicator in describe-mode Date: Thu, 12 Apr 2018 11:12:08 -0600
* lisp/help.el (describe-mode): document narrowing, if active
---
 lisp/help.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/help.el b/lisp/help.el
index 8e6604d2db..92a2f52d2d 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -908,6 +908,8 @@ documentation for the major and minor modes of that buffer."
                   (push (list fmode pretty-minor-mode
                               (format-mode-line (assq mode minor-mode-alist)))
                         minor-modes)))))
+       (when (or (> (point-min) 1) (<= (point-max) (buffer-size)))
+         (push '(narrow-to-region "Narrow" " Narrow") minor-modes))
        (setq minor-modes
              (sort minor-modes
                    (lambda (a b) (string-lessp (cadr a) (cadr b)))))
-- 
2.14.2



--- End Message ---
--- Begin Message --- Subject: Re: bug#31139: [PATCH] Document Narrow indicator in describe-mode Date: Sat, 05 May 2018 12:44:27 +0300
> From: Michael Hendricks <address@hidden>
> Date: Tue, 24 Apr 2018 09:00:13 -0600
> Cc: Michael Hendricks <address@hidden>, Noam Postavsky <address@hidden>
> 
> * lisp/help.el (describe-mode): document narrowing, if active
> ---
>  lisp/help.el | 4 ++++
>  1 file changed, 4 insertions(+)

Thanks, pushed to the master branch.


--- End Message ---

reply via email to

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