view .dir-locals.el @ 21624:cf227735d5fd

pkg: remove support for autoload (automatically loading package at start). * pkg.m, pkg/private/install.m, pkg/private/load_packages.m, pkg/private/rebuild.m: remove support for automatically loading packages. Having octave itself and the package manager automatically load packages is a bad idea. If a user wants to load a package at startup then it should specify it on its octaverc file. This can also be done on the system-wide octaverc file. This also simplifies pkg (this patch only removes code). * startup/version-rcfile: do not run 'pkg ("load", "auto")' at startup. * doc/interpreter/package.txi: remove mention of package autoload from the manual.
author Carnë Draug <carandraug@octave.org>
date Sun, 10 Apr 2016 23:00:07 +0100
parents 9ff04de067ce
children df203b20cfc6
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))))