X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d6e96966e86d8eadec446788d19144bd69b1e798..67ab0163d67fbfeb41c37c8a259f27eeef965520:/doc/lispref/variables.texi diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 5b5f336597..0cdcaa84d5 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -1407,6 +1407,8 @@ subsequent major mode. @xref{Hooks}. @cindex permanent local variable A buffer-local variable is @dfn{permanent} if the variable name (a symbol) has a @code{permanent-local} property that is non-@code{nil}. +Such variables are unaffected by @code{kill-all-local-variables}, and +their local bindings are therefore not cleared by changing major modes. Permanent locals are appropriate for data pertaining to where the file came from or how to save it, rather than with how to edit the contents.