Skip to content

Commit

Permalink
Merge pull request #1471 from adamse/presentation-point-at-new-info
Browse files Browse the repository at this point in the history
Point at new info in haskell-presentation-present
  • Loading branch information
gracjan committed Jan 15, 2017
2 parents 695c4d7 + 18bc047 commit 0fcab52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haskell-presentation-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ buffer before presenting message."

(when clear (haskell-presentation-clear))
(haskell-session-assign session)
(goto-char (point-min))
(forward-line 2)
(save-excursion
(let ((buffer-read-only nil))
(goto-char (point-min))
(forward-line 2)
(insert code "\n\n"))))

(if (eq major-mode 'haskell-presentation-mode)
Expand Down

0 comments on commit 0fcab52

Please sign in to comment.