diff options
| author | Eli Zaretskii | 2001-06-17 11:21:07 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-06-17 11:21:07 +0000 |
| commit | 08de70d7bcf14e90cd0b54fe6d519aa02a48aa93 (patch) | |
| tree | 979e698bb676e7a48518d84e6654d7425297896c | |
| parent | 366be0de5e1b058a58d157c342a05f7c608edba7 (diff) | |
| download | emacs-08de70d7bcf14e90cd0b54fe6d519aa02a48aa93.tar.gz emacs-08de70d7bcf14e90cd0b54fe6d519aa02a48aa93.zip | |
(compile-reinitialize-errors): Add help-echo to mouse-highlighted messages.
(compilation-forget-errors): Remove help-echo property as well.
| -rw-r--r-- | lisp/progmodes/compile.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 71978477ee3..3d0c399cf7c 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1299,9 +1299,10 @@ Does NOT find the source line like \\[next-error]." | |||
| 1299 | (error-list compilation-error-list)) | 1299 | (error-list compilation-error-list)) |
| 1300 | (while error-list | 1300 | (while error-list |
| 1301 | (save-excursion | 1301 | (save-excursion |
| 1302 | (put-text-property (goto-char (car (car error-list))) | 1302 | (add-text-properties (goto-char (car (car error-list))) |
| 1303 | (progn (end-of-line) (point)) | 1303 | (progn (end-of-line) (point)) |
| 1304 | 'mouse-face 'highlight)) | 1304 | '(mouse-face highlight help-echo "\ |
| 1305 | mouse-2: visit this file and line"))) | ||
| 1305 | (setq error-list (cdr error-list)))) | 1306 | (setq error-list (cdr error-list)))) |
| 1306 | ))))) | 1307 | ))))) |
| 1307 | 1308 | ||
| @@ -1722,7 +1723,8 @@ Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." | |||
| 1722 | (let ((inhibit-read-only t) | 1723 | (let ((inhibit-read-only t) |
| 1723 | (buffer-undo-list t) | 1724 | (buffer-undo-list t) |
| 1724 | deactivate-mark) | 1725 | deactivate-mark) |
| 1725 | (remove-text-properties (point-min) (point-max) '(mouse-face highlight)))) | 1726 | (remove-text-properties (point-min) (point-max) |
| 1727 | '(mouse-face highlight help-echo nil)))) | ||
| 1726 | 1728 | ||
| 1727 | 1729 | ||
| 1728 | ;; This function is not needed any more by compilation mode. | 1730 | ;; This function is not needed any more by compilation mode. |