Subject: Re: bug#33400: [PATCH v3] Let dir locals for more specific modes override those from less

From: Noam Postavsky <[email-masked]>
Date: Sun, 12 May 2019 10:03:42 -0400

tags 33400 fixed
close 33400 26.3
quit

Pushed to emacs-26, with a couple of minor fixes:

> * lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables,
> dir-locals-read-from-dir): Sort the dir locals so that more precise

We close the parens at end of line for ChangeLog entries:

* lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables)
(dir-locals-read-from-dir): Sort the dir locals so that more precise

> +@example
> +((nil . ((fill-column . 40)))
> + (c-mode . ((fill-column . 50)))
> + (prog-mode . ((fill-column . 60)))
> + ("narrow-files" . ((nil . (fill-column 20)))))
> +@end example

The last line in the example needs to be

+ ("narrow-files" . ((nil . ((fill-column . 20))))))

02bee7860f 2019-05-12T09:59:55-04:00 "Let dir locals for more specific modes override those from less"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=02bee7860f7e650ef13e00fe1a7f9a362e3eb001