diff options
| -rw-r--r-- | ext/emacs/puppet-mode.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/emacs/puppet-mode.el b/ext/emacs/puppet-mode.el index 307a27a38..54f9a71a6 100644 --- a/ext/emacs/puppet-mode.el +++ b/ext/emacs/puppet-mode.el @@ -175,6 +175,9 @@ that array, else return nil." (forward-line -1) (cond ((bobp) + (if (and (not (puppet-comment-line-p)) (looking-at "^.*{")) + (setq cur-indent 2) + (setq cur-indent 0)) (setq not-indented nil)) ((puppet-comment-line-p) ;; ignore it and continue iterating backwards |
