fix(emacs/lean-info): type of a symbol at the end of buffer
This commit is contained in:
parent
a8d58fdd33
commit
b9c1b1e186
1 changed files with 3 additions and 1 deletions
|
@ -380,7 +380,9 @@ Take out \"BEGININFO\" and \"ENDINFO\" and Use \"ACK\" as a delim."
|
|||
(forward-line (1- line-number))
|
||||
(forward-char column-number)
|
||||
(setq pos (point))
|
||||
(setq str (buffer-substring-no-properties pos (+ pos (length name))))
|
||||
(setq str (buffer-substring-no-properties pos
|
||||
(min (+ pos (length name))
|
||||
(point-max))))
|
||||
(string= name str)))))
|
||||
|
||||
(defun lean-match-full-name-at-pos (file-name line-number column-number full-name)
|
||||
|
|
Loading…
Reference in a new issue