aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index e1c80a6ef6f..a3ea8adac28 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1735,7 +1735,8 @@ the old visited file has been renamed to the new name FILENAME."
1735 (kill-local-variable 'vc-mode) 1735 (kill-local-variable 'vc-mode)
1736 ;; Turn off backup files for certain file names. 1736 ;; Turn off backup files for certain file names.
1737 ;; Since this is a permanent local, the major mode won't eliminate it. 1737 ;; Since this is a permanent local, the major mode won't eliminate it.
1738 (and (not (funcall backup-enable-predicate buffer-file-name)) 1738 (and buffer-file-name
1739 (not (funcall backup-enable-predicate buffer-file-name))
1739 (progn 1740 (progn
1740 (make-local-variable 'backup-inhibited) 1741 (make-local-variable 'backup-inhibited)
1741 (setq backup-inhibited t))) 1742 (setq backup-inhibited t)))