diff options
| author | James Turnbull <james@lovedthanlost.net> | 2008-11-24 21:31:22 +1100 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2008-11-24 21:31:22 +1100 |
| commit | 9ed382d397c79995e850a91ac92e22106d670bed (patch) | |
| tree | 97e7636701aae21b56eede0000dc65fd6c4cc164 /ext | |
| parent | 27a750d4884f2f48c05f5ab6a5c70c7cecf5ff04 (diff) | |
| download | puppet-9ed382d397c79995e850a91ac92e22106d670bed.tar.gz puppet-9ed382d397c79995e850a91ac92e22106d670bed.tar.xz puppet-9ed382d397c79995e850a91ac92e22106d670bed.zip | |
Fixed #1767 - Minor fix to emacs mode
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/emacs/puppet-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/emacs/puppet-mode.el b/ext/emacs/puppet-mode.el index 11fcfea0a..0029b9c3d 100644 --- a/ext/emacs/puppet-mode.el +++ b/ext/emacs/puppet-mode.el @@ -226,7 +226,7 @@ of the initial include plus puppet-include-indent." ;; Semicolon ends a block for a resource when multiple resources ;; are defined in the same block, but try not to get the case of ;; a complete resource on a single line wrong. - ((looking-at "^\\([^'\":\n]\\|\"[^\n\"]*\"\\|'[^\n']'\\)**;\\s-*$") + ((looking-at "^\\([^'\":\n]\\|\"[^\n\"]*\"\\|'[^\n']*'\\)*;\\s-*$") (setq cur-indent (- (current-indentation) puppet-indent-level)) (setq not-indented nil)) |
