fix(emacs/lean-server): missing 'rx' at the beginning of regex
This commit is contained in:
parent
70dcc2e122
commit
ba6dc59d5f
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ If it's not the same with file-name (default: buffer-file-name), send VISIT cmd.
|
|||
(defun lean-server-get-info-record-at-pos (body)
|
||||
(let* ((file-name (buffer-file-name))
|
||||
(column (current-column)))
|
||||
(when (and (looking-at (or white "," ")" "}" "]"))
|
||||
(when (and (looking-at (rx (or white "," ")" "}" "]")))
|
||||
(> column 1))
|
||||
(setq column (1- column)))
|
||||
(lean-info-record-parse body file-name column)))
|
||||
|
|
Loading…
Reference in a new issue