1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00

(compilation-setup): Set overlay-arrow-string to an empty string

on text terminals.
This commit is contained in:
Eli Zaretskii 2005-05-07 16:18:36 +00:00
parent 55b958f07b
commit 48778af49a

View File

@ -1247,7 +1247,8 @@ Optional argument MINOR indicates this is called from
(make-local-variable 'compilation-messages-start)
(make-local-variable 'compilation-error-screen-columns)
(make-local-variable 'overlay-arrow-position)
(set (make-local-variable 'overlay-arrow-string) "=>")
(set (make-local-variable 'overlay-arrow-string)
(if (display-graphic-p) "=>" ""))
(setq next-error-overlay-arrow-position nil)
(add-hook 'kill-buffer-hook
(lambda () (setq next-error-overlay-arrow-position nil)) nil t)