Skip to content

Commit

Permalink
Use buffer-substring
Browse files Browse the repository at this point in the history
Fixes #98
  • Loading branch information
dgutov committed Jun 23, 2020
1 parent 2ae27c1 commit 65d6df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion company-quickhelp.el
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ be triggered manually using `company-quickhelp-show'."
(company-quickhelp--goto-max-line)
(let ((truncated (< (point-at-eol) (point-max))))
(company-quickhelp--skip-footers-backwards)
(list :doc (buffer-substring-no-properties start (point-at-eol))
(list :doc (buffer-substring start (point-at-eol))
:truncated truncated)))

(defun company-quickhelp--completing-read (prompt candidates &rest rest)
Expand Down

0 comments on commit 65d6df6

Please sign in to comment.