aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXue Fuqiao2013-12-22 14:15:17 +0800
committerXue Fuqiao2013-12-22 14:15:17 +0800
commitb345c561829091aec1ad9cd327ca5a97d1050e80 (patch)
tree9d754004d0cc3c008337a64cd9399e9d56c1d213
parentf2351498018d7a17ee6eff0b0f3966cd3949f748 (diff)
downloademacs-b345c561829091aec1ad9cd327ca5a97d1050e80.tar.gz
emacs-b345c561829091aec1ad9cd327ca5a97d1050e80.zip
Document `enable-dir-local-variables'.
* doc/lispref/variables.texi (Directory Local Variables): Document `enable-dir-local-variables'.
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/variables.texi6
-rw-r--r--etc/NEWS7
3 files changed, 13 insertions, 2 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 540ac07bf9f..14facae6ba5 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
12013-12-22 Xue Fuqiao <xfq.free@gmail.com> 12013-12-22 Xue Fuqiao <xfq.free@gmail.com>
2 2
3 * variables.texi (Directory Local Variables): Document `enable-dir-local-variables'.
4
3 * debugging.texi (Debugger Commands): Document `debugger-toggle-locals'. 5 * debugging.texi (Debugger Commands): Document `debugger-toggle-locals'.
4 6
52013-12-21 Chong Yidong <cyd@gnu.org> 72013-12-21 Chong Yidong <cyd@gnu.org>
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 866f3774999..941b2d880e4 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -1834,6 +1834,12 @@ modification times of the associated directory local variables file
1834updates this list. 1834updates this list.
1835@end defvar 1835@end defvar
1836 1836
1837@defvar enable-dir-local-variables
1838If @code{nil}, directory-local variables are ignored. This variable
1839may be useful for modes that want to ignore directory-locals while
1840still respecting file-local variables (@pxref{File Local Variables}).
1841@end defvar
1842
1837@node Variable Aliases 1843@node Variable Aliases
1838@section Variable Aliases 1844@section Variable Aliases
1839@cindex variable aliases 1845@cindex variable aliases
diff --git a/etc/NEWS b/etc/NEWS
index a6eedaf1b47..0b78a93fa94 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -660,13 +660,13 @@ During initialization, Emacs no longer expends a process to decide
660whether it is safe to use Bash's --noediting option. These days 660whether it is safe to use Bash's --noediting option. These days
661--noediting is ubiquitous; it was introduced in 1996 in Bash version 2. 661--noediting is ubiquitous; it was introduced in 1996 in Bash version 2.
662 662
663*** The SMIE indentation engine is now used by default.
664
665** Shell Script mode 663** Shell Script mode
666 664
667*** `sh-mode' now has the mode own `add-log-current-defun-function'. 665*** `sh-mode' now has the mode own `add-log-current-defun-function'.
668You can pick the name of the function and the variables with `C-x 4 a'. 666You can pick the name of the function and the variables with `C-x 4 a'.
669 667
668*** The SMIE indentation engine is now used by default.
669
670** SMIE indentation can be customized via `smie-config'. 670** SMIE indentation can be customized via `smie-config'.
671The customization can be guessed by Emacs by providing a sample indented 671The customization can be guessed by Emacs by providing a sample indented
672file and letting SMIE learn from it. 672file and letting SMIE learn from it.
@@ -745,6 +745,7 @@ received with a pull operation.
745under current version control system. When called with a prefix 745under current version control system. When called with a prefix
746argument, you can remove a file from the ignored file list. 746argument, you can remove a file from the ignored file list.
747 747
748---
748*** `cvs-append-to-ignore' has been renamed to `vc-cvs-append-to-ignore' 749*** `cvs-append-to-ignore' has been renamed to `vc-cvs-append-to-ignore'
749because it is moved to vc-cvs.el. 750because it is moved to vc-cvs.el.
750 751
@@ -823,6 +824,7 @@ run. The new optional CHECK-TIMERS param allows for the prior behavior.
823** The syntax of ?» and ?« is now punctuation instead of matched parens. 824** The syntax of ?» and ?« is now punctuation instead of matched parens.
824Some languages match those as »...« and others as «...» so better stay neutral. 825Some languages match those as »...« and others as «...» so better stay neutral.
825 826
827---
826** In compiled Lisp files, the header no longer includes a timestamp. 828** In compiled Lisp files, the header no longer includes a timestamp.
827 829
828** The default file coding for Emacs Lisp files is now utf-8. 830** The default file coding for Emacs Lisp files is now utf-8.
@@ -879,6 +881,7 @@ for something (not just adding elements to it), it ought not to affect you.
879 881
880* Lisp Changes in Emacs 24.4 882* Lisp Changes in Emacs 24.4
881 883
884+++
882** New variable `enable-dir-local-variables'. 885** New variable `enable-dir-local-variables'.
883Directory-local variables are ignored if this is set to nil. This may 886Directory-local variables are ignored if this is set to nil. This may
884be useful for modes that want to ignore directory-locals while still 887be useful for modes that want to ignore directory-locals while still