From: Glenn Morris Date: Thu, 18 Jun 2009 06:54:47 +0000 (+0000) Subject: (dir-locals-set-directory-class): Make mtime argument X-Git-Tag: emacs-pretest-23.0.95~21 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c1a7089259bc540f45d2e9cb6435e9d1ee375479;p=emacs.git (dir-locals-set-directory-class): Make mtime argument optional, since it is always unneeded in the non-file case. (Bug#3577) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0e8bed3f338..b01a4724192 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-06-18 Glenn Morris + + * 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 * 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." (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.