annotate .dir-locals.el @ 20264:5dfaaaae784f

Deprecate Array::capacity() and Sparse::capacity() for numel() and nzmax(). * liboctave/array/Array.h (Array::capacity): deprecate for ::numel(). * liboctave/array/Sparse.h (Sparse::capacity): deprecate for ::nzmax(). Also move comments into doxygen docs. * libinterp/corefcn/daspk.cc, libinterp/corefcn/dasrt.cc, libinterp/corefcn/dassl.cc, libinterp/corefcn/jit-typeinfo.h, libinterp/corefcn/quad.cc, libinterp/corefcn/variables.cc, libinterp/octave-value/ov-base-sparse.h, libinterp/octave-value/ov-base.h, libinterp/octave-value/ov.h, liboctave/array/Sparse.cc, liboctave/numeric/DASPK.cc, liboctave/numeric/DASRT.cc, liboctave/numeric/DASSL.cc, liboctave/numeric/LSODE.cc, liboctave/numeric/Quad.cc, liboctave/numeric/base-de.h, liboctave/numeric/base-min.h, liboctave/numeric/oct-rand.cc: replace use of capacity by numel() or nzmax() as appropriate.
author Carnë Draug <carandraug@octave.org>
date Sun, 24 May 2015 04:47:20 +0100
parents 9ff04de067ce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13105
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
1 ((nil .
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
2 ((c-file-style . "gnu")
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
3 (indent-tabs-mode . nil)
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
4 (fill-column . 72)
17588
9ff04de067ce improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents: 13114
diff changeset
5 (eval . (when (and (buffer-file-name)
9ff04de067ce improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents: 13114
diff changeset
6 (string-match-p "\\.h\\'" (buffer-file-name))
9ff04de067ce improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents: 13114
diff changeset
7 (not (string-match-p "/gnulib/" (buffer-file-name))))
9ff04de067ce improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents: 13114
diff changeset
8 (c++-mode)
9ff04de067ce improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents: 13114
diff changeset
9 (c-set-style "gnu")))))
9966
d4dab9605c49 correctly set indent-tabs-mode for ChangeLogs and Makefiles in .dir-locals.el
John W. Eaton <jwe@octave.org>
parents: 9933
diff changeset
10 (change-log-mode . ((indent-tabs-mode . t)))
d4dab9605c49 correctly set indent-tabs-mode for ChangeLogs and Makefiles in .dir-locals.el
John W. Eaton <jwe@octave.org>
parents: 9933
diff changeset
11 (makefile-mode . ((indent-tabs-mode . t))))