Skip to content

Commit 09a4b19

Browse files
committed
Declare turn-on-haskell-indentation-as-obsolete
1 parent 6f0ffed commit 09a4b19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

haskell-indentation.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
;; To turn indentation on for all Haskell buffers under Haskell mode
2929
;; <http://www.haskell.org/haskell-mode/> add this to .emacs:
3030
;;
31-
;; (add-hook haskell-mode-hook 'turn-on-haskell-indentation)
31+
;; (add-hook haskell-mode-hook 'haskell-indentation-mode)
3232
;;
3333
;; Otherwise, call `haskell-indentation-mode'.
3434

@@ -147,6 +147,9 @@ clashing with other modes."
147147
"Turn on the haskell-indentation minor mode."
148148
(interactive)
149149
(haskell-indentation-mode t))
150+
(make-obsolete 'turn-on-haskell-indentation
151+
'haskell-indentation-mode
152+
"2015-05-25")
150153

151154
(defun haskell-indentation-parse-error (&rest args)
152155
(let ((msg (apply 'format args)))

0 commit comments

Comments
 (0)