emacs-devel
[Top][All Lists]
Advanced

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

Re: Changes to emacs/lisp/font-lock.el,v


From: Kim F. Storm
Subject: Re: Changes to emacs/lisp/font-lock.el,v
Date: Sat, 17 Feb 2007 23:11:59 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

I think Stefan installed a different fix for this problem ...


Eli Zaretskii <address@hidden> writes:

> CVSROOT:      /cvsroot/emacs
> Module name:  emacs
> Changes by:   Eli Zaretskii <eliz>    07/02/17 11:27:26
>
> Index: font-lock.el
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/lisp/font-lock.el,v
> retrieving revision 1.310
> retrieving revision 1.311
> diff -u -b -r1.310 -r1.311
> --- font-lock.el      15 Feb 2007 16:36:58 -0000      1.310
> +++ font-lock.el      17 Feb 2007 11:27:26 -0000      1.311
> @@ -1083,12 +1083,12 @@
>                                (point-max))))
>      changed))
>    
> -  
>  (defun font-lock-extend-region-wholelines ()
>    "Move fontification boundaries to beginning of lines."
>    (let ((changed nil))
>      (goto-char font-lock-beg)
> -    (unless (bolp) (setq changed t font-lock-beg (line-beginning-position)))
> +    (unless (or (bolp) (eobp))
> +      (setq changed t font-lock-beg (line-beginning-position)))
>      (goto-char font-lock-end)
>      (unless (bolp)
>        (unless (eq font-lock-end

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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