diff options
| -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. |