aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSpencer Baugh2023-11-10 07:20:09 -0500
committerEli Zaretskii2023-11-15 15:35:26 +0200
commitf554872997a2f8e4e8ad4342a4b0955bfc7ad3f4 (patch)
treef897684f2124732ea66e21a17f09c32d92d93591 /java
parent8b458aea86ccbba255cbc5e97d6426df1e8bc6d9 (diff)
downloademacs-f554872997a2f8e4e8ad4342a4b0955bfc7ad3f4.tar.gz
emacs-f554872997a2f8e4e8ad4342a4b0955bfc7ad3f4.zip
Signal file-locked on lock conflict with noninteractive=t
Previously we would signal a generic error on lock conflict when noninteractive=t. That meant that non-interactively handling a lock conflict would require catching all errors and checking the string in DATA. Now we just signal file-locked instead, which matches the interactive behavior when the user says "q" at the prompt. Also, when noninteractive, we signal before we write the prompt about the lock conflict. That prompt usually gets in the way of noninteractively handling and suppress lock conflict errors. The signal data contains all the necessary information, we don't need to write a separate message for noninteractive. * lisp/userlock.el (ask-user-about-lock): Signal file-locked on noninteractive lock conflict. (bug#66993)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions