From 2356b3168710ec6dc01f611557ea3af78d143c58 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 8 Feb 2014 19:02:45 -0800 Subject: [PATCH] (backup-inhibited): Doc clarification Fixes: debbugs:12525 --- lisp/ChangeLog | 1 + lisp/files.el | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index be72db024e5..6e55544253f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -4,6 +4,7 @@ readedness (bug#13261). (locate-file): Suffixes aren't returned, so don't say that they are (bug#12674). + (backup-inhibited): Doc clarification (bug#12525). * dired.el (dired-internal-do-deletions): Don't say "Deleting..." before we actually start to delete things (bug#16331). diff --git a/lisp/files.el b/lisp/files.el index 0cd4c29e1ef..835db3eab18 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -96,9 +96,9 @@ The choice of renaming or copying is controlled by the variables ;; Do this so that local variables based on the file name ;; are not overridden by the major mode. (defvar backup-inhibited nil - "Non-nil means don't make a backup, regardless of the other parameters. -This variable is intended for use by making it local to a buffer. -But it is local only if you make it local.") + "If non-nil, backups will be inhibited. +This variable is intended for use by making it local to a buffer, +but it is not an automatically buffer-local variable.") (put 'backup-inhibited 'permanent-local t) (defcustom backup-by-copying nil -- 2.39.2