diff options
Diffstat (limited to 'lisp/userlock.el')
-rw-r--r-- | lisp/userlock.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/userlock.el b/lisp/userlock.el index 23430fa1e04..cce5251204b 100644 --- a/lisp/userlock.el +++ b/lisp/userlock.el @@ -1,12 +1,15 @@ ;;; userlock.el --- handle file access contention between multiple users +;;; Maintainer: FSF +;;; Last-Modified: 26 May 1987 + ;; Copyright (C) 1985, 1986 Free Software Foundation, inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,12 +21,14 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: -;; This file is autloaded to handle certain conditions +;; This file is autoloaded to handle certain conditions ;; detected by the file-locking code within Emacs. ;; The two entry points are `ask-user-about-lock' and ;; `ask-user-about-supersession-threat'. +;;; Code: (put 'file-locked 'error-conditions '(file-locked file-error error)) |