[PATCH] Adding .dir-locals.el

Sergio Durigan Junior sergiodj en sergiodj.net
Vie Abr 18 01:47:33 UTC 2014


On Thursday, March 27 2014, I wrote:

> This comment adds the file .dir-locals.el, which is a special file
> loaded by Emacs every time a file is visited.  For now, it just sets the
> coding style to "linux".

Aplicado.

> ---
>  .dir-locals.el | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 .dir-locals.el
>
> diff --git a/.dir-locals.el b/.dir-locals.el
> new file mode 100644
> index 0000000..4370b9f
> --- /dev/null
> +++ b/.dir-locals.el
> @@ -0,0 +1,18 @@
> +;; Emacs settings
> +;; Copyright (C) 2014  Sergio Durigan Junior  <sergiodj em sergiodj.net>
> +
> +;; This program is free software; you can redistribute it and/or modify
> +;; it under the terms of the GNU General Public License as published by
> +;; the Free Software Foundation; either version 3 of the License, or
> +;; (at your option) any later version.
> +
> +;; This program is distributed in the hope that it will be useful,
> +;; but WITHOUT ANY WARRANTY; without even the implied warranty of
> +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +;; GNU General Public License for more details.
> +
> +;; You should have received a copy of the GNU General Public License
> +;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
> +
> +; Set the coding style to Linux.
> +((c-mode . ((c-file-style . "linux"))))
> -- 
> 1.8.1.4
>
> -- 
> Sergio
> _______________________________________________
> Softwares-impostos mailing list
> Softwares-impostos em fsfla.org
> http://www.fsfla.org/cgi-bin/mailman/listinfo/softwares-impostos

-- 
Sergio


Más información sobre la lista de distribución Softwares-impostos