[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104376: * variables.texi (File Local
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104376: * variables.texi (File Local Variables): More hack-local-variables details. |
Date: |
Thu, 26 May 2011 09:20:21 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104376
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2011-05-26 09:20:21 -0700
message:
* variables.texi (File Local Variables): More hack-local-variables details.
modified:
doc/lispref/ChangeLog
doc/lispref/variables.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2011-05-26 00:54:27 +0000
+++ b/doc/lispref/ChangeLog 2011-05-26 16:20:21 +0000
@@ -2,6 +2,7 @@
* variables.texi (File Local Variables):
Update hack-local-variables `mode-only' return value.
+ Add some more details on what this function does in the other case.
2011-05-19 Glenn Morris <address@hidden>
=== modified file 'doc/lispref/variables.texi'
--- a/doc/lispref/variables.texi 2011-05-26 00:54:27 +0000
+++ b/doc/lispref/variables.texi 2011-05-26 16:20:21 +0000
@@ -1670,7 +1670,10 @@
@code{file-local-variables-alist} and applying each local variable in
turn. It calls @code{before-hack-local-variables-hook} and
@code{hack-local-variables-hook} before and after applying the
-variables, respectively.
+variables, respectively. It only calls the before-hook if the alist
+is address@hidden; it always calls the other hook. This
+function ignores a @samp{mode} element if it specifies the same major
+mode as the buffer already has.
If the optional argument @var{mode-only} is address@hidden, then all
this function does is return a symbol specifying the major mode,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104376: * variables.texi (File Local Variables): More hack-local-variables details.,
Glenn Morris <=