mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 18:00:30 -08:00
(compilation-mode-font-lock-keywords):
Minor sanity check on the `hyperlink' slot.
This commit is contained in:
parent
7dcac3a665
commit
f71d34b0a8
1 changed files with 3 additions and 0 deletions
|
|
@ -703,6 +703,9 @@ FILE should be (FILENAME . DIRNAME) or nil."
|
|||
,(if col `(match-string ,col)))))
|
||||
(,file compilation-error-face t))
|
||||
|
||||
(unless (or (null (nth 5 item)) (integerp (nth 5 item)))
|
||||
(error "HYPERLINK should be an integer: %s" (nth 5 item)))
|
||||
|
||||
`(,(nth 0 item)
|
||||
|
||||
,@(when (integerp file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue