diff options
| author | Stefan Monnier | 2011-01-01 22:57:26 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-01-01 22:57:26 -0500 |
| commit | 2a8a455e77ee928a76268ab1ff5be1787af6525a (patch) | |
| tree | 164bd541bd0d43520e1a6d7ac0755102d1602426 | |
| parent | 2f9520592df6d3352777f227f66aede98cf503e8 (diff) | |
| download | emacs-2a8a455e77ee928a76268ab1ff5be1787af6525a.tar.gz emacs-2a8a455e77ee928a76268ab1ff5be1787af6525a.zip | |
* lisp/files.el (file-local-variables-alist): Make permanent-local.
Fixes: debbugs:7767
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/files.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f321eb22d94..8a0cdd74d7d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * files.el (file-local-variables-alist): | ||
| 4 | Make permanent-local (bug#7767). | ||
| 5 | |||
| 1 | 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change) | 6 | 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change) |
| 2 | 7 | ||
| 3 | * mail/mail-utils.el (mail-strip-quoted-names): Don't modify the | 8 | * mail/mail-utils.el (mail-strip-quoted-names): Don't modify the |
diff --git a/lisp/files.el b/lisp/files.el index 70d514d16ec..690caf13960 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, | 3 | ;; Copyright (C) 1985, 1986, 1987, 1992, 1993, 1994, 1995, 1996, |
| 4 | ;; 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | 4 | ;; 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
| 5 | ;; 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 5 | ;; 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | ;; Maintainer: FSF | 7 | ;; Maintainer: FSF |
| 8 | 8 | ||
| @@ -2788,6 +2788,7 @@ is a file-local variable (a symbol) and VALUE is the value | |||
| 2788 | specified. The actual value in the buffer may differ from VALUE, | 2788 | specified. The actual value in the buffer may differ from VALUE, |
| 2789 | if it is changed by the major or minor modes, or by the user.") | 2789 | if it is changed by the major or minor modes, or by the user.") |
| 2790 | (make-variable-buffer-local 'file-local-variables-alist) | 2790 | (make-variable-buffer-local 'file-local-variables-alist) |
| 2791 | (put 'file-local-variables-alist 'permanent-local t) | ||
| 2791 | 2792 | ||
| 2792 | (defvar dir-local-variables-alist nil | 2793 | (defvar dir-local-variables-alist nil |
| 2793 | "Alist of directory-local variable settings in the current buffer. | 2794 | "Alist of directory-local variable settings in the current buffer. |