From 9d5f0ad23dde7182323fc3656dcf7ba152bfea00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Fri, 14 Aug 2015 09:19:43 +0200 Subject: [PATCH] Clarify some docs/strings in elisp/ --- elisp/ghc-check.el | 20 ++++++++++---------- elisp/ghc-doc.el | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/elisp/ghc-check.el b/elisp/ghc-check.el index e468504..214862d 100644 --- a/elisp/ghc-check.el +++ b/elisp/ghc-check.el @@ -20,7 +20,7 @@ :underline (:style wave :color "orangered")) (t :inherit error)) - "Face used for marking error lines." + "Face used for error lines." :group 'ghc) (defface ghc-face-warn @@ -28,7 +28,7 @@ :underline (:style wave :color "gold")) (t :inherit warning)) - "Face used for marking warning lines." + "Face used for warning lines." :group 'ghc) (defface ghc-face-hole @@ -36,7 +36,7 @@ :underline (:style wave :color "purple")) (t :inherit warning)) - "Face used for marking hole lines." + "Face used for hole lines." :group 'ghc) (defvar ghc-check-error-fringe (propertize "!" 'display '(left-fringe exclamation-mark))) @@ -46,18 +46,18 @@ (defvar ghc-check-hole-fringe (propertize "_" 'display '(left-fringe horizontal-bar))) (defvar ghc-display-error nil - "*An action to display errors/warnings for 'M-n' and 'M-p: + "*How to display errors/warnings when using '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. +nil do not display errors/warnings. +'minibuffer display errors/warnings in the minibuffer. +'other-buffer display errors/warnings in a new buffer. ") (defvar ghc-display-hole 'other-buffer - "*An action to display hole information for 'C-c C-j' and 'C-c C-h' + "*How to display hole information when using 'C-c C-j' and 'C-c C-h' -'minibuffer displays errors/warnings in the minibuffer. -'other-buffer displays errors/warnings in the other buffer" +'minibuffer display errors/warnings in the minibuffer. +'other-buffer display errors/warnings in the a new buffer" ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/elisp/ghc-doc.el b/elisp/ghc-doc.el index 46fe2aa..9c61125 100644 --- a/elisp/ghc-doc.el +++ b/elisp/ghc-doc.el @@ -25,7 +25,7 @@ (setq pkg-ver-path (and mod (ghc-resolve-document-path mod))) (if pkg-ver-path (ghc-display-document pkg-ver-path mod haskell-org expr) - (message "No document found")))) + (message "No documentation found")))) (ghc-defstruct pkg-ver-path pkg ver path) @@ -93,7 +93,7 @@ (read-from-minibuffer "Module name: " def ghc-input-map)) (defun ghc-read-expression (def) - (read-from-minibuffer "Expression: " def ghc-input-map)) + (read-from-minibuffer "Identifier: " def ghc-input-map)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;