emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/etc NEWS


From: Chong Yidong
Subject: [Emacs-diffs] emacs/etc NEWS
Date: Mon, 17 Aug 2009 23:50:27 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/08/17 23:50:27

Modified files:
        etc            : NEWS 

Log message:
        Note that specifying a minor mode as a local variables enables that
        mode.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/etc/NEWS?cvsroot=emacs&r1=1.2061&r2=1.2062

Patches:
Index: NEWS
===================================================================
RCS file: /sources/emacs/emacs/etc/NEWS,v
retrieving revision 1.2061
retrieving revision 1.2062
diff -u -b -r1.2061 -r1.2062
--- NEWS        14 Aug 2009 23:03:50 -0000      1.2061
+++ NEWS        17 Aug 2009 23:50:26 -0000      1.2062
@@ -73,17 +73,21 @@
 to be corrupted once the outer load completed.  Most code doesn't care
 about this, but some (like c-mode) may check it.
 
-** New command to add a file-local variable to the "Local Variables" list
-in the current buffer is `add-file-local-variable'.  New command to remove
-a file-local variable from the "Local Variables" list is
-`delete-file-local-variable'.  New commands to add/remove a file-local
-variable to/from the -*- line at the beginning of the buffer are
-`add-file-local-variable-prop-line' and `delete-file-local-variable-prop-line'.
-New commands to add/remove a directory-local variable to/from the
-.dir-locals.el file are `add-dir-local-variable' and
-`delete-dir-local-variable'.  New commands to copy directory-local
-variables to file-local variables in the "Local Variables" list or the
--*- line and vice versa are `copy-dir-locals-to-file-locals',
+** File-local variable changes
+
+*** Specifying a minor mode as a local variables enables that mode,
+unconditionally.  The previous behavior, toggling the mode, was
+neither reliable nor generally desirable.
+
+*** New commands for adding and removing file-local variables:
+`add-file-local-variable', `delete-file-local-variable',
+`add-file-local-variable-prop-line', and
+`delete-file-local-variable-prop-line'.
+
+*** New commands for adding and removing directory-local variables,
+and copying them to and from file-local variable lists:
+`add-dir-local-variable', `delete-dir-local-variable',
+`copy-dir-locals-to-file-locals',
 `copy-dir-locals-to-file-locals-prop-line' and
 `copy-file-locals-to-dir-locals'.
 




reply via email to

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