diff options
| author | Xue Fuqiao | 2013-12-22 14:15:17 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-12-22 14:15:17 +0800 |
| commit | b345c561829091aec1ad9cd327ca5a97d1050e80 (patch) | |
| tree | 9d754004d0cc3c008337a64cd9399e9d56c1d213 | |
| parent | f2351498018d7a17ee6eff0b0f3966cd3949f748 (diff) | |
| download | emacs-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/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 6 | ||||
| -rw-r--r-- | etc/NEWS | 7 |
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 @@ | |||
| 1 | 2013-12-22 Xue Fuqiao <xfq.free@gmail.com> | 1 | 2013-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 | ||
| 5 | 2013-12-21 Chong Yidong <cyd@gnu.org> | 7 | 2013-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 | |||
| 1834 | updates this list. | 1834 | updates this list. |
| 1835 | @end defvar | 1835 | @end defvar |
| 1836 | 1836 | ||
| 1837 | @defvar enable-dir-local-variables | ||
| 1838 | If @code{nil}, directory-local variables are ignored. This variable | ||
| 1839 | may be useful for modes that want to ignore directory-locals while | ||
| 1840 | still 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 |
| @@ -660,13 +660,13 @@ During initialization, Emacs no longer expends a process to decide | |||
| 660 | whether it is safe to use Bash's --noediting option. These days | 660 | whether 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'. |
| 668 | You can pick the name of the function and the variables with `C-x 4 a'. | 666 | You 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'. |
| 671 | The customization can be guessed by Emacs by providing a sample indented | 671 | The customization can be guessed by Emacs by providing a sample indented |
| 672 | file and letting SMIE learn from it. | 672 | file and letting SMIE learn from it. |
| @@ -745,6 +745,7 @@ received with a pull operation. | |||
| 745 | under current version control system. When called with a prefix | 745 | under current version control system. When called with a prefix |
| 746 | argument, you can remove a file from the ignored file list. | 746 | argument, 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' |
| 749 | because it is moved to vc-cvs.el. | 750 | because 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. |
| 824 | Some languages match those as »...« and others as «...» so better stay neutral. | 825 | Some 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'. |
| 883 | Directory-local variables are ignored if this is set to nil. This may | 886 | Directory-local variables are ignored if this is set to nil. This may |
| 884 | be useful for modes that want to ignore directory-locals while still | 887 | be useful for modes that want to ignore directory-locals while still |