diff options
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 883eaf13356..1365e016cca 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-01-06 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * variables.texi (Directory Local Variables): Document | ||
| 4 | hack-dir-local-variables-non-file-buffer. | ||
| 5 | |||
| 1 | 2012-01-06 Glenn Morris <rgm@gnu.org> | 6 | 2012-01-06 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * maps.texi (Standard Keymaps): Refer to Info-edit by name | 8 | * maps.texi (Standard Keymaps): Refer to Info-edit by name |
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 243da9f373d..5bc9c1157e2 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -1829,6 +1829,15 @@ function works by calling @code{dir-locals-set-class-variables} and | |||
| 1829 | @code{dir-locals-set-directory-class}, described below. | 1829 | @code{dir-locals-set-directory-class}, described below. |
| 1830 | @end defun | 1830 | @end defun |
| 1831 | 1831 | ||
| 1832 | @defun hack-dir-local-variables-non-file-buffer | ||
| 1833 | This function looks for directory-local variables, and immediately | ||
| 1834 | applies them in the current buffer. It is intended to be called in | ||
| 1835 | the mode commands for non-file buffers, such as Dired buffers, to let | ||
| 1836 | them obey directory-local variable settings. For non-file buffers, | ||
| 1837 | Emacs looks for directory-local variables in @code{default-directory} | ||
| 1838 | and its parent directories. | ||
| 1839 | @end defun | ||
| 1840 | |||
| 1832 | @defun dir-locals-set-class-variables class variables | 1841 | @defun dir-locals-set-class-variables class variables |
| 1833 | This function defines a set of variable settings for the named | 1842 | This function defines a set of variable settings for the named |
| 1834 | @var{class}, which is a symbol. You can later assign the class to one | 1843 | @var{class}, which is a symbol. You can later assign the class to one |