emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Typo in font-lock.el


From: David Ponce
Subject: Typo in font-lock.el
Date: Sat, 30 Mar 2002 08:39:45 +0100
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.9+) Gecko/20020326

Hi All,

It seems there is a typo in latest CVS version of font-lock.el.
And font locking fails with the error:

"Error during redisplay: (void-variable modified)"

The following patch fixes that.

Sincerely,
David

*** font-lock.el.ori    Fri Mar 29 18:14:14 2002
--- font-lock.el    Fri Mar 29 23:21:49 2002
***************
*** 679,685 ****
"Bind variables according to VARLIST and eval BODY restoring buffer state."
     (let ((modified (make-symbol "modified")))
       `(let* ,(append varlist
!               '((,modified (buffer-modified-p))
             (buffer-undo-list t)
             (inhibit-read-only t)
             (inhibit-point-motion-hooks t)
--- 679,685 ----
"Bind variables according to VARLIST and eval BODY restoring buffer state."
     (let ((modified (make-symbol "modified")))
       `(let* ,(append varlist
!               `((,modified (buffer-modified-p))
             (buffer-undo-list t)
             (inhibit-read-only t)
             (inhibit-point-motion-hooks t)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]