Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
elisp: remove some dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielG committed Sep 17, 2016
1 parent e6b2210 commit 0626fb6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions elisp/ghc-command.el
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,4 @@
(delete-region beg (point))
(insert "import " mod " (" syms ")\n"))))

(defun ghc-save-buffer ()
(interactive)
;; fixme: better way then saving?
(if ghc-check-command ;; hlint
(if (buffer-modified-p)
(call-interactively 'save-buffer))
(unless buffer-read-only
(set-buffer-modified-p t)
(call-interactively 'save-buffer)))
(ghc-check-syntax))

(provide 'ghc-command)

0 comments on commit 0626fb6

Please sign in to comment.