Skip to content

Commit

Permalink
Merge pull request lanl#529 from nicolasbock/fix_dir_locals
Browse files Browse the repository at this point in the history
Fix dir local variables
  • Loading branch information
nicolasbock authored Jul 13, 2021
2 parents 7c4e692 + 5db0189 commit eaae21f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

((c-mode . (((c-basic-offset . 4) . ((c-offsets-alist
(arglist-intro . 4))))))
(f90-mode . (((f90-if-indent . 2) . ((f90-do-indent . 2)
(f90-type-indent . 2)))))
(f90-mode . ((f90-type-indent . 2)
(f90-do-indent . 2)
(f90-if-indent . 2)))
(sh-mode . ((sh-basic-offset . 4))))
3 changes: 0 additions & 3 deletions scripts/indent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ done
for f in "${FORTRAN_FILES[@]}"; do
${EMACS} --batch \
"${f}" \
--eval "(setq f90-do-indent 2)" \
--eval "(setq f90-if-indent 2)" \
--eval "(setq f90-type-indent 2)" \
--eval "(whitespace-cleanup)" \
--eval "(indent-region (minibuffer-prompt-end) (point-max) nil)" \
-f save-buffer
Expand Down

0 comments on commit eaae21f

Please sign in to comment.