File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ wrapped in compiler directive at the top of FILE."
645
645
(haskell-interactive-mode-prompt))
646
646
647
647
(defun haskell-interactive-popup-error (response )
648
- " Popup an error."
648
+ " Pop up an error."
649
649
(if haskell-interactive-popup-errors
650
650
(let ((buf (get-buffer-create " *HS-Error*" )))
651
651
(pop-to-buffer buf nil t )
@@ -659,12 +659,13 @@ wrapped in compiler directive at the top of FILE."
659
659
'haskell-interactive-face-compile-error ))
660
660
(goto-char (point-min ))
661
661
(delete-blank-lines )
662
- (insert (propertize " -- Hit `q' to close this window.\n\n "
663
- 'font-lock-face 'font-lock-comment-face ))
664
- (save-excursion
665
- (goto-char (point-max ))
666
- (insert (propertize " \n -- To disable popups, customize `haskell-interactive-popup-errors' .\n\n "
667
- 'font-lock-face 'font-lock-comment-face ))))))
662
+ (let ((start-comment (propertize " -- " 'font-lock-face 'font-lock-comment-delimiter-face )))
663
+ (insert start-comment (propertize " Hit `q' to close this window.\n\n " 'font-lock-face 'font-lock-comment-face ))
664
+ (save-excursion
665
+ (goto-char (point-max ))
666
+ (insert " \n " start-comment
667
+ (propertize " To disable popups, customize `haskell-interactive-popup-errors' .\n\n "
668
+ 'font-lock-face 'font-lock-comment-face )))))))
668
669
(haskell-interactive-mode-insert-error response)))
669
670
670
671
(defun haskell-interactive-next-error-function (&optional n reset )
You can’t perform that action at this time.
0 commit comments