Fix non-exist function
Emacs does not have 'replace-in-string' function.
This commit is contained in:
parent
0003236802
commit
5c58afb3de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue