aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files.el5
2 files changed, 10 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b5cc06f5f66..75cd7982716 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-04-02 Richard M. Stallman <rms@gnu.org>
2
3 * files.el (hack-one-local-variable):
4 Clear text props from string value.
5
12002-04-02 Mike Williams <mdub@bigfoot.com> 62002-04-02 Mike Williams <mdub@bigfoot.com>
2 7
3 * textmodes/sgml-mode.el (sgml-close-tag): Rename from 8 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
diff --git a/lisp/files.el b/lisp/files.el
index 0c9a3947b8c..8516212cdd7 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1994,6 +1994,11 @@ is considered risky."
1994 (message "Ignoring `eval:' in the local variables list"))) 1994 (message "Ignoring `eval:' in the local variables list")))
1995 ;; Ordinary variable, really set it. 1995 ;; Ordinary variable, really set it.
1996 (t (make-local-variable var) 1996 (t (make-local-variable var)
1997 ;; Make sure the string has no text properties.
1998 ;; Some text properties can get evaluated in various ways,
1999 ;; so it is risky to put them on with a local variable list.
2000 (if (stringp val)
2001 (set-text-properties 0 (length val) nil val))
1997 (set var val)))) 2002 (set var val))))
1998 2003
1999 2004