Skip to content

Commit 7ab5ae6

Browse files
committed
Removed unused variables
1 parent 9668ba2 commit 7ab5ae6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

haskell-customize.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,9 @@ imports."
409409
presence of a *.cabal file or stack.yaml file or something similar.")
410410

411411
(defun haskell-build-type ()
412-
"Looks for cabal and stack spec files.
413-
When found, returns a pair (TAG . DIR)
414-
where TAG is 'cabal-project, 'cabal-sandbox. 'cabal, or 'stack;
412+
"Looks for cabal and stack spec files.
413+
When found, returns a pair (TAG . DIR)
414+
where TAG is 'cabal-project, 'cabal-sandbox. 'cabal, or 'stack;
415415
and DIR is the directory containing cabal or stack file.
416416
When none found, DIR is nil, and TAG is 'ghc"
417417
;; REVIEW maybe just 'cabal is enough.

haskell-decl-scan.el

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
;; Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
44
;; Copyright (C) 1997-1998 Graeme E Moss
55
;; Copyright (C) 2016 Chris Gregory
6+
;; Copyright (C) 2020 Jacob Ilsø
67

78
;; Author: 1997-1998 Graeme E Moss <gem@cs.york.ac.uk>
89
;; Maintainer: Stefan Monnier <monnier@gnu.org>
@@ -542,9 +543,6 @@ datatypes) in a Haskell file for the `imenu' package."
542543
(index-imp-alist '()) ;; Imports
543544
(index-inst-alist '()) ;; Instances
544545
(index-type-alist '()) ;; Datatypes
545-
;; Variables for showing progress.
546-
(bufname (buffer-name))
547-
(divisor-of-progress (max 1 (/ (buffer-size) 100)))
548546
;; The result we wish to return.
549547
result)
550548
(goto-char (point-min))

0 commit comments

Comments
 (0)