mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 22:20:24 -08:00
(ask-user-about-lock): Doc fix.
This commit is contained in:
parent
c3f135409c
commit
5f60927d07
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@
|
||||||
(defun ask-user-about-lock (file opponent)
|
(defun ask-user-about-lock (file opponent)
|
||||||
"Ask user what to do when he wants to edit FILE but it is locked by OPPONENT.
|
"Ask user what to do when he wants to edit FILE but it is locked by OPPONENT.
|
||||||
This function has a choice of three things to do:
|
This function has a choice of three things to do:
|
||||||
do (signal 'buffer-file-locked (list FILE OPPONENT))
|
do (signal 'file-locked (list FILE OPPONENT))
|
||||||
to refrain from editing the file
|
to refrain from editing the file
|
||||||
return t (grab the lock on the file)
|
return t (grab the lock on the file)
|
||||||
return nil (edit the file even though it is locked).
|
return nil (edit the file even though it is locked).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue