Skip to content

Commit 5ce8ad4

Browse files
committed
mark old SCC functions as obsolete
1 parent 5c96cd1 commit 5ce8ad4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

haskell-mode.el

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,10 @@ successful, nil otherwise."
918918
(if (not (haskell-mode-try-insert-scc-at-point))
919919
(error "Not over an area of whitespace")))
920920

921+
(make-obsolete
922+
'haskell-mode-insert-scc-at-point
923+
'haskell-mode-toggle-scc-at-point)
924+
921925
(defun haskell-mode-try-kill-scc-at-point ()
922926
"Try to kill an SCC annotation at point. Return true if
923927
successful, nil otherwise."
@@ -939,6 +943,10 @@ successful, nil otherwise."
939943
(if (not (haskell-mode-try-kill-scc-at-point))
940944
(error "No SCC at point")))
941945

946+
(make-obsolete
947+
'haskell-mode-kill-scc-at-point
948+
'haskell-mode-toggle-scc-at-point)
949+
942950
(defun haskell-mode-toggle-scc-at-point ()
943951
"If point is in an SCC annotation, kill the annotation. Otherwise, try to insert a new annotation."
944952
(interactive)

0 commit comments

Comments
 (0)