summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
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