aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2009-06-18 06:54:47 +0000
committerGlenn Morris <[email protected]>2009-06-18 06:54:47 +0000
commitc1a7089259bc540f45d2e9cb6435e9d1ee375479 (patch)
tree51ba2df97725f6c856eb02df5f61338a149be053 /lisp
parent5c7c11c37454ba637fc1f71c905afa1d2b98bbaa (diff)
(dir-locals-set-directory-class): Make mtime argument
optional, since it is always unneeded in the non-file case. (Bug#3577)
Diffstat (limited to 'lisp')
-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 0e8bed3f33..b01a472419 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-18 Glenn Morris <[email protected]>
+
+ * files.el (dir-locals-set-directory-class): Make mtime argument
+ optional, since it is always unneeded in the non-file case. (Bug#3577)
+
2009-06-18 Kenichi Handa <[email protected]>
* language/korean.el ("Korean"): Fix `documentation' property of
diff --git a/lisp/files.el b/lisp/files.el
index 91e046bc4a..ff6b692769 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3241,7 +3241,7 @@ Return the new variables list."
(setq variables (dir-locals-collect-mode-variables
(cdr entry) variables))))))))
-(defun dir-locals-set-directory-class (directory class mtime)
+(defun dir-locals-set-directory-class (directory class &optional mtime)
"Declare that the DIRECTORY root is an instance of CLASS.
DIRECTORY is the name of a directory, a string.
CLASS is the name of a project class, a symbol.