diff options
| author | Kaushal Modi | 2017-11-28 19:17:48 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-11-28 19:17:48 +0200 |
| commit | 0540df10e63ba624a775cfe1bba4124456591cf5 (patch) | |
| tree | 9a016173e21ae7ed1100ee260cffe3e4814b96e7 /doc | |
| parent | f2441ab3204274cba16f5cab19e98db61d468fb7 (diff) | |
| download | emacs-0540df10e63ba624a775cfe1bba4124456591cf5.tar.gz emacs-0540df10e63ba624a775cfe1bba4124456591cf5.zip | |
Update documentation of '.dir-locals-2.el'
See https://lists.gnu.org/r/emacs-devel/2017-11/msg00649.html
for more details.
* lisp/files.el (dir-locals-file-2): Remove unused constant.
* lisp/files.el (dir-locals-file): Mention ".dir-locals-2.el" in
the doc string.
* doc/lispref/variables.texi (Directory Local Variables): Mention
".dir-locals-2.el".
* etc/NEWS: Replace `dir-locals-file-2' mention with
`dir-locals-file'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/variables.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index a871352b004..5bee0f9d82a 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -1919,7 +1919,12 @@ settings to any file in that directory or any of its subdirectories | |||
| 1919 | (optionally, you can exclude subdirectories; see below). | 1919 | (optionally, you can exclude subdirectories; see below). |
| 1920 | If some of the subdirectories have their own @file{.dir-locals.el} | 1920 | If some of the subdirectories have their own @file{.dir-locals.el} |
| 1921 | files, Emacs uses the settings from the deepest file it finds starting | 1921 | files, Emacs uses the settings from the deepest file it finds starting |
| 1922 | from the file's directory and moving up the directory tree. The file | 1922 | from the file's directory and moving up the directory tree. This |
| 1923 | constant is also used to derive the name of a second dir-locals file | ||
| 1924 | @file{.dir-locals-2.el}. If this second dir-locals file is present, | ||
| 1925 | then that is loaded instead of @file{.dir-locals.el}. This is useful | ||
| 1926 | when @file{.dir-locals.el} is under version control in a shared | ||
| 1927 | repository and cannot be used for personal customizations. The file | ||
| 1923 | specifies local variables as a specially formatted list; see | 1928 | specifies local variables as a specially formatted list; see |
| 1924 | @ref{Directory Variables, , Per-directory Local Variables, emacs, The | 1929 | @ref{Directory Variables, , Per-directory Local Variables, emacs, The |
| 1925 | GNU Emacs Manual}, for more details. | 1930 | GNU Emacs Manual}, for more details. |