Merge pull request #145 from syohex/fix-non-exist-function

Fix non-exist function
This commit is contained in:
Jérémie Dimino 2015-11-05 10:47:08 +00:00
commit 921270c121
1 changed files with 2 additions and 2 deletions

View File

@ -409,8 +409,8 @@ it is started."
(save-excursion
(goto-char utop-prompt-min)
(forward-line -1)
(let ((line (replace-in-string (thing-at-point 'line) "\n" "")))
(set-text-properties 0 (length line) nil line)
(let ((line (buffer-substring-no-properties
(line-beginning-position) (line-end-position))))
(message line)))))
;; Poor man's identifier at point