aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-06-18 06:54:47 +0000
committerGlenn Morris2009-06-18 06:54:47 +0000
commitc1a7089259bc540f45d2e9cb6435e9d1ee375479 (patch)
tree51ba2df97725f6c856eb02df5f61338a149be053
parent5c7c11c37454ba637fc1f71c905afa1d2b98bbaa (diff)
downloademacs-c1a7089259bc540f45d2e9cb6435e9d1ee375479.tar.gz
emacs-c1a7089259bc540f45d2e9cb6435e9d1ee375479.zip
(dir-locals-set-directory-class): Make mtime argument
optional, since it is always unneeded in the non-file case. (Bug#3577)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0e8bed3f338..b01a4724192 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-06-18 Glenn Morris <rgm@gnu.org>
2
3 * files.el (dir-locals-set-directory-class): Make mtime argument
4 optional, since it is always unneeded in the non-file case. (Bug#3577)
5
12009-06-18 Kenichi Handa <handa@m17n.org> 62009-06-18 Kenichi Handa <handa@m17n.org>
2 7
3 * language/korean.el ("Korean"): Fix `documentation' property of 8 * language/korean.el ("Korean"): Fix `documentation' property of
diff --git a/lisp/files.el b/lisp/files.el
index 91e046bc4af..ff6b6927696 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3241,7 +3241,7 @@ Return the new variables list."
3241 (setq variables (dir-locals-collect-mode-variables 3241 (setq variables (dir-locals-collect-mode-variables
3242 (cdr entry) variables)))))))) 3242 (cdr entry) variables))))))))
3243 3243
3244(defun dir-locals-set-directory-class (directory class mtime) 3244(defun dir-locals-set-directory-class (directory class &optional mtime)
3245 "Declare that the DIRECTORY root is an instance of CLASS. 3245 "Declare that the DIRECTORY root is an instance of CLASS.
3246DIRECTORY is the name of a directory, a string. 3246DIRECTORY is the name of a directory, a string.
3247CLASS is the name of a project class, a symbol. 3247CLASS is the name of a project class, a symbol.