Skip to content

Commit 0d39c84

Browse files
authored
Merge pull request #1727 from soupi/soupi-patch-1
Remove scanning/sorting declarations messages from imenu index creation
2 parents 560a03a + 76f4162 commit 0d39c84

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

haskell-decl-scan.el

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,6 @@ datatypes) in a Haskell file for the `imenu' package."
551551
;; Loop forwards from the beginning of the buffer through the
552552
;; starts of the top-level declarations.
553553
(while (< (point) (point-max))
554-
(message "Scanning declarations in %s... (%3d%%)" bufname
555-
(/ (- (point) (point-min)) divisor-of-progress))
556554
;; Grab the next declaration.
557555
(setq result (haskell-ds-generic-find-next-decl bird-literate))
558556
(if result
@@ -580,7 +578,6 @@ datatypes) in a Haskell file for the `imenu' package."
580578
(setq index-inst-alist
581579
(cl-acons name start-pos index-inst-alist)))))))
582580
;; Now sort all the lists, label them, and place them in one list.
583-
(message "Sorting declarations in %s..." bufname)
584581
(when index-type-alist
585582
(push (cons "Datatypes"
586583
(sort index-type-alist 'haskell-ds-imenu-label-cmp))
@@ -604,7 +601,6 @@ datatypes) in a Haskell file for the `imenu' package."
604601
index-alist)
605602
(setq index-alist (append index-alist
606603
(sort index-var-alist 'haskell-ds-imenu-label-cmp)))))
607-
(message "Sorting declarations in %s...done" bufname)
608604
;; Return the alist.
609605
index-alist))
610606

0 commit comments

Comments
 (0)