From c2cff3e4f6d9872c4461b03bebc814b457457067 Mon Sep 17 00:00:00 2001 From: Brian Wignall Date: Tue, 12 Nov 2019 09:31:58 -0500 Subject: [PATCH] Fix small typos --- doc/haskell-mode.texi | 2 +- haskell-string.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/haskell-mode.texi b/doc/haskell-mode.texi index 75ea3c8df..0de03958a 100644 --- a/doc/haskell-mode.texi +++ b/doc/haskell-mode.texi @@ -2075,7 +2075,7 @@ The output can be copied from the @code{*Messages*} buffer. There a few ways GHCi lets you query information about your code. -@subsection Get identifer type +@subsection Get identifier type To print the type of the top-level identifier at point in the REPL and in the message buffer, run the following command: diff --git a/haskell-string.el b/haskell-string.el index 36e8b0df6..354956e89 100644 --- a/haskell-string.el +++ b/haskell-string.el @@ -157,7 +157,7 @@ This is the dual operation to `haskell-string-literal-encode'." (defun haskell-string-ellipsize (string n) "Return STRING truncated to (at most) N characters. -If truncation occured, last character in string is replaced by `…'. +If truncation occurred, last character in string is replaced by `…'. See also `haskell-string-take'." (cond ((<= (length string) n) string) ;; no truncation needed