emacs-devel
[Top][All Lists]
Advanced

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

Re: Question: suppress ask-user-about-lock?


From: Michael Albinus
Subject: Re: Question: suppress ask-user-about-lock?
Date: Wed, 08 Dec 2021 20:17:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Qiantan Hong <qhong@mit.edu> writes:

Hi,

> Is there a standard way to cause lock-buffer immediately fail?

Do you mean with "fail" that lock-buffer shall do nothing?

> (let ((noninteractive t)) (lock-buffer)) is an obvious one,
> but not sure if it’s good practice.

Set or bind create-lockfiles to nil.

> Best,
> Qiantan

Best regards, Michael.



reply via email to

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