view .dir-locals.el @ 20298:5c088348fddb

qp.m: Overhaul function (fixes bug #45324). * qp.m: Put input validation first. Validate both x0 and q are vectors. Transform x0 and q to column vectors for rest of computation (bug #45324). Use double quotes instead of single to match Octave coding conventions. Re-wrap multi-line comments to break at meaningful boundaries. Use isargout to avoid calculating unnecessary outputs.
author Rik <rik@octave.org>
date Mon, 15 Jun 2015 21:56:34 +0200
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))))