diff options
| author | Karl Heuer | 1997-09-27 16:12:51 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-09-27 16:12:51 +0000 |
| commit | 22052f1d13d9e8bc5b1c2013644a7d6f4696c04c (patch) | |
| tree | f394400c2b15c555c6fe4741fd1ab56952b80b7b /lisp | |
| parent | 7933678bcbd76f80e244ea719a7ef63e555cc73d (diff) | |
| download | emacs-22052f1d13d9e8bc5b1c2013644a7d6f4696c04c.tar.gz emacs-22052f1d13d9e8bc5b1c2013644a7d6f4696c04c.zip | |
(compilation-mode-font-lock-keywords): Font-lock column numbers.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/progmodes/compile.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index cbb0a6dc086..54e0ed1808b 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -465,7 +465,14 @@ write into the compilation buffer, and to put in its mode line.") | |||
| 465 | (mapcar (function | 465 | (mapcar (function |
| 466 | (lambda (item) | 466 | (lambda (item) |
| 467 | ;; Prepend "^", adjusting FILE-IDX and LINE-IDX accordingly. | 467 | ;; Prepend "^", adjusting FILE-IDX and LINE-IDX accordingly. |
| 468 | (let ((file-idx (nth 1 item)) (line-idx (nth 2 item)) keyword) | 468 | (let ((file-idx (nth 1 item)) |
| 469 | (line-idx (nth 2 item)) | ||
| 470 | (col-idx (nth 3 item)) | ||
| 471 | keyword) | ||
| 472 | (when (numberp col-idx) | ||
| 473 | (setq keyword | ||
| 474 | (cons (list (1+ col-idx) 'font-lock-type-face nil t) | ||
| 475 | keyword))) | ||
| 469 | (when (numberp line-idx) | 476 | (when (numberp line-idx) |
| 470 | (setq keyword | 477 | (setq keyword |
| 471 | (cons (list (1+ line-idx) 'font-lock-variable-name-face) | 478 | (cons (list (1+ line-idx) 'font-lock-variable-name-face) |