* PATCH: Change variable which-func-unknown to "n/a"
@ 2022-05-24 22:26 Paul W. Rankin via Emacs development discussions.
2022-05-25 12:07 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Paul W. Rankin via Emacs development discussions. @ 2022-05-24 22:26 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: 0001-Change-variable-which-func-unknown-to-n-a.patch --]
[-- Type: application/octet-stream, Size: 1008 bytes --]
From 603c29ea616184339af9578897e418f26465bb19 Mon Sep 17 00:00:00 2001
From: "Paul W. Rankin" <pwr@bydasein.com>
Date: Tue, 24 May 2022 18:19:57 -0400
Subject: [PATCH] Change variable which-func-unknown to "n/a"
* lisp/progmodes/which-func.el (which-func-unknown): Change string
displayed in mode-line from "???" to "n/a"; the former appears to
indicate an error whereas the latter is more indicative that the
current function is not known.
---
lisp/progmodes/which-func.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index abe25f2c63..3c8d4f43db 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -64,7 +64,7 @@
;; Variables for customization
;; ---------------------------
;;
-(defvar which-func-unknown "???"
+(defvar which-func-unknown "n/a"
"String to display in the mode line when current function is unknown.")
(defgroup which-func nil
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: PATCH: Change variable which-func-unknown to "n/a"
2022-05-24 22:26 PATCH: Change variable which-func-unknown to "n/a" Paul W. Rankin via Emacs development discussions.
@ 2022-05-25 12:07 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-25 12:07 UTC (permalink / raw)
To: Paul W. Rankin via Emacs development discussions.; +Cc: Paul W. Rankin
"Paul W. Rankin" via "Emacs development discussions."
<emacs-devel@gnu.org> writes:
> Subject: [PATCH] Change variable which-func-unknown to "n/a"
Makes sense to me; pushed to Emacs 29 now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-25 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-24 22:26 PATCH: Change variable which-func-unknown to "n/a" Paul W. Rankin via Emacs development discussions.
2022-05-25 12:07 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).