all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#68268: 30.0.50; [PATCH] use special mode in checkdoc status buffer
@ 2024-01-05 17:27 No Wayman
  2024-01-05 19:08 ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: No Wayman @ 2024-01-05 17:27 UTC (permalink / raw)
  To: 68268

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]


It'd be nice if the checkdoc status buffer were in special-mode.
Always annoys me when it hangs around and I don't have the 
quit-window bindings available.
See attached patch.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: use special mode in checkdoc status buffer --]
[-- Type: text/x-patch, Size: 1091 bytes --]

From 37973dcf23742a1fc3fdc5416febb4fe23a0effa Mon Sep 17 00:00:00 2001
From: Nicholas Vollmer <iarchivedmywholelife@gmail.com>
Date: Fri, 5 Jan 2024 12:22:10 -0500
Subject: [PATCH] Use special-mode in checkdoc status buffer

* lisp/emacs-lisp/checkdoc.el (checkdoc-display-status-buffer): Use
`special-mode'.
---
 lisp/emacs-lisp/checkdoc.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index 80eaf93c3b7..82c6c03a592 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -556,7 +556,8 @@ checkdoc-display-status-buffer
   "Display and update the status buffer for the current checkdoc mode.
 CHECK is a list of four strings stating the current status of each
 test; the nth string describes the status of the nth test."
-  (let (temp-buffer-setup-hook)
+  (let (temp-buffer-setup-hook
+        (temp-buffer-show-hook #'special-mode))
     (with-output-to-temp-buffer "*Checkdoc Status*"
       (mapc #'princ
             (list "Buffer comments and tags:  " (nth 0 check)
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-05 22:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 17:27 bug#68268: 30.0.50; [PATCH] use special mode in checkdoc status buffer No Wayman
2024-01-05 19:08 ` Stefan Kangas
2024-01-05 21:00   ` No Wayman
2024-01-05 22:00     ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.