]> git.eshelyaron.com Git - emacs.git/commit
* lisp/files.el (dir-locals-find-file): Refactor return values
authorArtur Malabarba <bruce.connor.am@gmail.com>
Mon, 25 Jan 2016 16:54:08 +0000 (16:54 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Mon, 25 Jan 2016 23:42:41 +0000 (23:42 +0000)
commit777c712c9c419d20de2602e53308fca2eb8442b3
treec792cbe54965867e24c0db2b93bf931e3d222cf6
parent6efc59264d02902f9ea52ef6cb0400518fb798d8
* lisp/files.el (dir-locals-find-file): Refactor return values

Returning a cache remains unchanged, but the case of returning a
file (or pattern) is now changed to return the contaning
directory.

(dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
and make obsolete.
(dir-locals-read-from-dir): Simplify accordingly.
(hack-dir-local-variables): Simplify accordingly and rename a
variable.
lisp/files.el