packages feed

hindent 3.3 → 3.4

raw patch · 2 files changed

+10/−7 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

elisp/hindent.el view
@@ -59,12 +59,15 @@                               (col (current-column)))                           (delete-region (car start-end)                                          (cdr start-end))-                          (insert new-str)-                          (goto-char (point-min))-                          (forward-line (1- line))-                          (goto-char (+ (line-beginning-position) col))-                          (when (looking-back "^[ ]+")-                            (back-to-indentation))+                          (let ((new-start (point)))+                            (insert new-str)+                            (let ((new-end (point)))+                              (goto-char (point-min))+                              (forward-line (1- line))+                              (goto-char (+ (line-beginning-position) col))+                              (when (looking-back "^[ ]+")+                                (back-to-indentation))+                              (delete-trailing-whitespace new-start new-end)))                           (message "Formatted."))                       (message "Already formatted."))))))))))))) 
hindent.cabal view
@@ -1,5 +1,5 @@ name:                hindent-version:             3.3+version:             3.4 synopsis:            Extensible Haskell pretty printer description:         Extensible Haskell pretty printer. Both a library and an executable.                      .