[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17345: 24.4.50; some into clauses in cl-loop badly font-locked
From: |
Stefan Monnier |
Subject: |
bug#17345: 24.4.50; some into clauses in cl-loop badly font-locked |
Date: |
Thu, 01 May 2014 12:13:21 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> Yes probably but the last paren before "into" should not be highlighted IMO.
Makes sense, indeed. I installed the patch below which should do that.
Do you find it resolves this bug report satisfactorily?
Stefan
=== modified file 'lisp/emacs-lisp/lisp-mode.el'
--- lisp/emacs-lisp/lisp-mode.el 2014-04-25 16:11:07 +0000
+++ lisp/emacs-lisp/lisp-mode.el 2014-05-01 16:11:59 +0000
@@ -163,8 +163,9 @@
(let ((ppss (parse-partial-sexp (line-beginning-position)
(line-end-position)
-1)))
+ (skip-syntax-forward " )")
(if (or (>= (car ppss) 0)
- (looking-at "[]) \t]*\\(;\\|$\\)"))
+ (looking-at ";\\|$"))
(progn
(forward-line 1)
(< (point) limit))
- bug#17345: 24.4.50; some into clauses in cl-loop badly font-locked,
Stefan Monnier <=