Mercurial > octave-nkf
view .dir-locals.el @ 16022:d8f216d241cf
Fix off-by-1 error in run_history when called with no arguments.
* libinterp/interpfcn/oct-hist.cc(mk_tmp_hist_file): Subtract
2 from hist_count to account for last command and zero-based indexing.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 08 Feb 2013 17:37:14 -0800 |
parents | 7600200a54c8 |
children | 9ff04de067ce |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (string-match "\\.h\\'" (buffer-file-name)) (unless (string-match "/gnulib/" (buffer-file-name)) (c++-mode) (c-set-style "gnu")))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))