Skip to content

Commit 5986b68

Browse files
committed
Empty "handler" functions are pointless: this is what hooks are for
1 parent 87b518a commit 5986b68

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

purescript-mode.el

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,6 @@ see documentation for that variable for more details."
340340
(set (make-local-variable 'dabbrev-case-distinction) nil)
341341
(set (make-local-variable 'dabbrev-case-replace) nil)
342342
(set (make-local-variable 'dabbrev-abbrev-char-regexp) "\\sw\\|[.]")
343-
(add-hook 'before-save-hook 'purescript-mode-before-save-handler nil t)
344-
(add-hook 'after-save-hook 'purescript-mode-after-save-handler nil t)
345343
)
346344

347345
(defun purescript-fill-paragraph (justify)
@@ -467,13 +465,6 @@ Brings up the documentation for purescript-mode-hook."
467465
(format " [ %s .. ]" (purescript-string-take (purescript-trim (cadr lines)) 10))
468466
""))))))
469467

470-
(defun purescript-mode-before-save-handler ()
471-
"Function that will be called before buffer's saving."
472-
)
473-
474-
(defun purescript-mode-after-save-handler ()
475-
"Function that will be called after buffer's saving."
476-
)
477468

478469
(provide 'purescript-mode)
479470

0 commit comments

Comments
 (0)