File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 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."
645645 (haskell-interactive-mode-prompt))
646646
647647(defun haskell-interactive-popup-error (response )
648- " Popup an error."
648+ " Pop up an error."
649649 (if haskell-interactive-popup-errors
650650 (let ((buf (get-buffer-create " *HS-Error*" )))
651651 (pop-to-buffer buf nil t )
@@ -659,12 +659,13 @@ wrapped in compiler directive at the top of FILE."
659659 'haskell-interactive-face-compile-error ))
660660 (goto-char (point-min ))
661661 (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 )))))))
668669 (haskell-interactive-mode-insert-error response)))
669670
670671(defun haskell-interactive-next-error-function (&optional n reset )
You can’t perform that action at this time.
0 commit comments