emacs-devel
[Top][All Lists]
Advanced

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

Re: Async package.el


From: Rasmus
Subject: Re: Async package.el
Date: Thu, 09 Apr 2015 16:22:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hi,

raman <address@hidden> writes:

> I need to find a
> way of telling #'message   not to talk when called from an async
> task  -- or more generally, if called from anything except the main UI
> thread. Any ideas?

Is something like this too hackish?

(cl-letf (((symbol-function 'message) 'ignore))
         whatever)

In general I agree that it would be good if there existed a way to mute
Emacs while running something.  This is also useful for scripts,
e.g. exporting (org) documents from the bash prompt.

—Rasmus

-- 
One thing that is clear: it's all down hill from here 




reply via email to

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