diff options
| author | Richard M. Stallman <rms@gnu.org> | 1996-09-16 09:43:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1996-09-16 09:43:42 +0000 |
| commit | a7305f6e9f63ad31a8b59174f85782fb690c5b24 (patch) | |
| tree | df861cc6f1600b507326c404c23fb06b99d931de /lisp/files.el | |
| parent | 2509d35657414f76c27a8c6c8d5302acaad11ecd (diff) | |
| download | emacs-a7305f6e9f63ad31a8b59174f85782fb690c5b24.tar.gz | |
(file-locked-p): Alias to `ignore' if no file locking.
Diffstat (limited to 'lisp/files.el')
| -rw-r--r-- | lisp/files.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index 380ab5398d5..b23bac8faf5 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -257,6 +257,8 @@ and ignores this variable.") (defalias 'lock-buffer 'ignore)) (or (fboundp 'unlock-buffer) (defalias 'unlock-buffer 'ignore)) +(or (fboundp 'file-locked-p) + (defalias 'file-locked-p 'ignore)) ;; This hook function provides support for ange-ftp host name ;; completion. It runs the usual ange-ftp hook, but only for |
