Skip to content

Commit

Permalink
Fix small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bwignall committed Nov 12, 2019
1 parent 8830983 commit c2cff3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/haskell-mode.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion haskell-string.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2cff3e

Please sign in to comment.