GNU bug report logs - #58788
29.0.50; [PATCH] Respect inhibit-message

Previous Next

Package: emacs;

Reported by: dick.r.chiang <at> gmail.com

Date: Wed, 26 Oct 2022 05:08:02 UTC

Severity: wishlist

Tags: notabug, patch

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 58788 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: dick.r.chiang <at> gmail.com
Cc: 58788 <at> debbugs.gnu.org
Subject: Re: bug#58788: 29.0.50; [PATCH] Respect inhibit-message
Date: Sun, 13 Nov 2022 19:39:44 +0200
tags 58788 notabug
close 58788 29.0.50
quit

> (let ((dont \"dont clear me\!\")) \
>   (message dont) \
>   (let ((inhibit-message t)) \
>     (message \"nice try\") \
>     (cl-assert (equal (current-message) dont) t)))"

(setq clear-message-function
      (lambda () (when inhibit-message 'dont-clear-message)))

Problem solved.




This bug report was last modified 2 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.