From 58e0b91e65fa16acdade7eaa0a5847bc9dfff2ed Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Mon, 7 Apr 2014 14:51:24 +0900 Subject: [PATCH] elisp doc update. --- elisp/ghc-check.el | 8 +++++++- elisp/ghc.el | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/elisp/ghc-check.el b/elisp/ghc-check.el index 7e74f6c..f10d2c3 100644 --- a/elisp/ghc-check.el +++ b/elisp/ghc-check.el @@ -34,7 +34,13 @@ (defvar ghc-check-warning-fringe (propertize "?" 'display '(left-fringe question-mark))) -(defvar ghc-display-error nil) +(defvar ghc-display-error nil + "*An action to display errors/warnings for 'M-n' and 'M-p: + +nil does not display errors/warnings. +'minibuffer displays errors/warnings in the minibuffer. +'other-buffer displays errors/warnings in the other buffer. +") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/elisp/ghc.el b/elisp/ghc.el index 9933e59..3586cda 100644 --- a/elisp/ghc.el +++ b/elisp/ghc.el @@ -12,10 +12,8 @@ ;; Or if you wish to display error each goto next/prev error, ;; set ghc-display-error valiable. ;; -;; (autoload 'ghc-init "ghc" nil t) ;; (setq ghc-display-error 'minibuffer) ; to minibuffer ;; ; (setq ghc-display-error 'other-buffer) ; to other-buffer -;; (add-hook 'haskell-mode-hook (lambda () (ghc-init))) ;;