HomePhorge

* ext/emacs/puppet-mode.el (puppet-comment-line-p, puppet-in-array): New…
751405733c19Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

  • ext/emacs/puppet-mode.el (puppet-comment-line-p, puppet-in-array): New helper functions. (puppet-indent-line): Rewrite to handle three more situations: indent elements in an array, indent single-line blocks, and ignore previous comment content when indenting non-comment lines.

Suggested by: Micah Anderson
(He also provided the test data.)

Notes: Michah points out that this change may have introduced an
infinite loop (he can cause Emacs to hang now). Will investigate and
fix in a separate change.

Details

Provenance
Karl Fogel <kfogel@red-bean.com>Authored on
Luke Kanies <luke@madstop.com>Committed on Mar 20 2008, 5:45 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU40a389ab0fe7: * ext/emacs/puppet-mode.el: Untabify, in preparation for substantive changes.
Branches
Unknown
Tags
Unknown

Event Timeline