[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Fwd: Bug in font-latex.el
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX-devel] Fwd: Bug in font-latex.el |
Date: |
Mon, 13 May 2013 18:59:25 +0200 |
* Mosè Giordano (2013-05-12) writes:
> IIUC you're suggesting to do something like
> --8<---------------cut here---------------start------------->8---
> --- a/font-latex.el
> +++ b/font-latex.el
> @@ -1221,7 +1221,10 @@ triggers Font Lock to recognize the change."
> (defun font-latex-jit-lock-force-redisplay (buf start end)
> "Compatibility for Emacsen not offering `jit-lock-force-redisplay'."
> (if (fboundp 'jit-lock-force-redisplay)
> - (jit-lock-force-redisplay buf start end)
> + (condition-case nil
> + (jit-lock-force-redisplay buf start end)
> + (wrong-number-of-arguments
> + (jit-lock-force-redisplay (copy-marker start) (copy-marker end))))
> ;; The following block is an expansion of `jit-lock-force-redisplay'
> ;; and involved macros taken from CVS Emacs on 2007-04-28.
> (with-current-buffer buf
> --8<---------------cut here---------------end--------------->8---
> Is it correct?
Yup, but see my message on bug-auctex.
--
Ralf