emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/files.el


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/files.el
Date: Tue, 02 Apr 2002 18:14:27 -0500

Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.559 emacs/lisp/files.el:1.560
*** emacs/lisp/files.el:1.559   Sun Mar 31 22:45:11 2002
--- emacs/lisp/files.el Tue Apr  2 18:14:26 2002
***************
*** 1994,1999 ****
--- 1994,2004 ----
           (message "Ignoring `eval:' in the local variables list")))
        ;; Ordinary variable, really set it.
        (t (make-local-variable var)
+          ;; Make sure the string has no text properties.
+          ;; Some text properties can get evaluated in various ways,
+          ;; so it is risky to put them on with a local variable list.
+          (if (stringp val)
+              (set-text-properties 0 (length val) nil val))
           (set var val))))
  
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]