view .dir-locals.el @ 20326:2fc43288a6c4 stable

unpack.m: Stop hang when unpacking on to existing filename (bug #45331). * unpack.m: Follow documentation and use current directory for unpacking if no output directory is specified. Call tilde_expand() on any user-supplied directory in case it contains '~'. Add -f(orce) flag to gzip and bzip unpack commands so that any file will be overwritten and Octave will not hang waiting for user input. Strip trailing file separator from output directory so that a proper comparison is made to beginning directory which never includes the file separator.
author Rik <rik@octave.org>
date Wed, 01 Jul 2015 14:14:49 -0700
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))