aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pfeiffer2004-06-18 23:00:46 +0000
committerDaniel Pfeiffer2004-06-18 23:00:46 +0000
commitc0090c20f88d1e8c99e9823db5b9cc25d98672bc (patch)
tree44f6f036760804479e8757254bed598d28ac3046
parentfed0b1ee237487df6ba9a3ae43ab1a847804e07e (diff)
downloademacs-c0090c20f88d1e8c99e9823db5b9cc25d98672bc.tar.gz
emacs-c0090c20f88d1e8c99e9823db5b9cc25d98672bc.zip
(compilation-error-properties): Store one more than end-col, if present, so
that transient-mark-mode will highlight last char too.
-rw-r--r--lisp/progmodes/compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 3a880a4c9ea..033ce883e5f 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -583,7 +583,7 @@ Faces `compilation-error-face', `compilation-warning-face',
583 (setq col (match-string-no-properties col)) 583 (setq col (match-string-no-properties col))
584 (setq col (- (string-to-number col) compilation-first-column))) 584 (setq col (- (string-to-number col) compilation-first-column)))
585 (if (and end-col (setq end-col (match-string-no-properties end-col))) 585 (if (and end-col (setq end-col (match-string-no-properties end-col)))
586 (setq end-col (- (string-to-number end-col) compilation-first-column)) 586 (setq end-col (- (string-to-number end-col) compilation-first-column -1))
587 (if end-line (setq end-col -1))) 587 (if end-line (setq end-col -1)))
588 (if (consp type) ; not a static type, check what it is. 588 (if (consp type) ; not a static type, check what it is.
589 (setq type (or (and (car type) (match-end (car type)) 1) 589 (setq type (or (and (car type) (match-end (car type)) 1)