Hi all, I've committed the attached patch as obvious.
This is to set `fill-column' to 80 in c-mode (Emacs default it to 70) so now M-q does the right thing. I think is very handy especially in comments. Question: should we update the copyright manually for this file or have it updated by 'update-copyright.py'? I think this is not scanning the root of the repo. Thanks Andrea
>From f60c1b3102791b98de7c1ce951bce335394682ca Mon Sep 17 00:00:00 2001 From: Andrea Corallo <andrea.cora...@arm.com> Date: Fri, 11 Dec 2020 15:35:25 +0100 Subject: [PATCH] .dir-locals.el: Set 'fill-column' to 80 for c-mode ChangeLog 2020-12-11 Andrea Corallo <andrea.cora...@arm.com> * .dir-locals.el (c-mode): Set 'fill-column' to 80 columns. --- .dir-locals.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index b748c8d085f..44a0db68241 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -14,11 +14,10 @@ ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see <http://www.gnu.org/licenses/>. -( - (tcl-mode . ((tcl-indent-level . 4) +((tcl-mode . ((tcl-indent-level . 4) (tcl-continued-indent-level . 4) (indent-tabs-mode . t))) (nil . ((bug-reference-url-format . "http://gcc.gnu.org/PR%s"))) (c-mode . ((c-file-style . "GNU") - (indent-tabs-mode . t))) -) + (indent-tabs-mode . t) + (fill-column . 80)))) -- 2.17.1