Commit 5f60927d authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(ask-user-about-lock): Doc fix.

parent c3f13540
...@@ -38,7 +38,7 @@ ...@@ -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).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment