(defun ask-user-about-lock (file 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:
(defun ask-user-about-lock (file 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:
to refrain from editing the file
return t (grab the lock on the file)
return nil (edit the file even though it is locked).
to refrain from editing the file
return t (grab the lock on the file)
return nil (edit the file even though it is locked).
(defun ask-user-about-supersession-threat (fn)
"Ask a user who is about to modify an obsolete buffer what to do.
This function has two choices: it can return, in which case the modification
(defun ask-user-about-supersession-threat (fn)
"Ask a user who is about to modify an obsolete buffer what to do.
This function has two choices: it can return, in which case the modification
in which case the proposed buffer modification will not be made.
You can rewrite this to use any criterion you like to choose which one to do.
in which case the proposed buffer modification will not be made.
You can rewrite this to use any criterion you like to choose which one to do.
to get the latest version of the file, then make the change again.")
(with-current-buffer standard-output
(help-mode))))
to get the latest version of the file, then make the change again.")
(with-current-buffer standard-output
(help-mode))))