tools/eval: fix void-variable term-raw-map errors

This commit is contained in:
Henrik Lissner 2019-10-08 12:39:58 -04:00
parent 2ee0e1e110
commit bb71f591f8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -34,7 +34,7 @@
buffer))) buffer)))
(with-current-buffer buffer (with-current-buffer buffer
(unless (or (derived-mode-p 'term-mode) (unless (or (derived-mode-p 'term-mode)
(eq (current-local-map) term-raw-map)) (eq (current-local-map) (bound-and-true-p term-raw-map)))
(goto-char (if (and (derived-mode-p 'comint-mode) (goto-char (if (and (derived-mode-p 'comint-mode)
(cdr comint-last-prompt)) (cdr comint-last-prompt))
(cdr comint-last-prompt) (cdr comint-last-prompt)