From: Lars Ingebrigtsen Date: Sun, 9 Feb 2014 03:02:45 +0000 (-0800) Subject: (backup-inhibited): Doc clarification X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~79 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2356b3168710ec6dc01f611557ea3af78d143c58;p=emacs.git (backup-inhibited): Doc clarification Fixes: debbugs:12525 --- 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