summaryrefslogtreecommitdiffstats
path: root/man/.dir-locals.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* coding style: reduce text width to 109 charactersZbigniew Jędrzejewski-Szmek2018-12-081-1/+1
| | | | | | | | Patches are shown on github with a fixed width (no matter how wide the window is). When line numbers are high (we have some files with 5 digit line numbers), the diff does not fit, and horizontal scrolling must be used when viewing the patch. This is super annoying. Let's reduce the width a bit. I think 109 is still very wide, but at least the github issue should be alleviated.
* make dir-locals work again with emacs 26.1Lennart Poettering2018-07-231-5/+5
| | | | | | | | | | | | | | | After upgrading to emacs-26.1-1.fc28.x86_64 I noticed that our .dir-locals.el files weren't honoured anymore (specifically the fill column variable is not correctly set for c-mode files). I finally tracked this down to the order in which items are listed in .dir-locals.el: if the "nil" one is listed last everything works, otherwise, it's the one that is applied instead of the c-mode one. This patch simply swaps the entries, and puts the "nil" one last. My emacs lisp fu is a bit too limited to understand the full impact for this, and why emacs 26.1 changed behaviour in this regard, but from an outsider's view the order shouldn't negatively affect things otherwise, hence this patch.
* man: move examples out of sd_journal_get_fd into separate filesZbigniew Jędrzejewski-Szmek2018-03-241-0/+14
man/.dir-locals is to keep indentation under control. This makes it much easier to compile and run those examples, c.f. #7578. v2: - copy more of .dir-locals.el from the root to man/.dir-locals.el (I though emacs would inherit from the one in the parent dir, but it seems it just uses its own broken defaults, including indent-tabs-mode by default.)