help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Suppress (pop kill-ring) from *Messages*


From: Tim Johnson
Subject: Re: Suppress (pop kill-ring) from *Messages*
Date: Mon, 2 Nov 2015 07:23:35 -0900
User-agent: Mutt/1.5.21 (2010-09-15)

* Emanuel Berg <embe8573@student.uu.se> [151101 15:42]:
> >
> > How can I suppress the recording of the item
> > in messages?
> 
> Perhaps (?) this experimentation is of interest to you:

  Indeed, is of great interest. 

> (defun test-suppress-messages ()
>   (interactive)
>   (let ((log-size message-log-max)) ; (setq message-log-max 1000)
>     (setq message-log-max nil)
>     (message "No buffer, not last - suppressed!")
>     (setq message-log-max log-size)
>     (message "Buffer, so this message is logged.")
>     (message "Buffer and last, so this message is echoed as well as logged.") 
> ))
> ;; (test-suppress-messages)
 
   Thank you, Emanuel. I need to take some time to grok this and
   your other email. Very interesting information that could aid me
   in other issues.

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



reply via email to

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