unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master 10efaf7: * lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure.
       [not found] ` <20161121175744.24A3E2201C5@vcs.savannah.gnu.org>
@ 2016-11-22  2:51   ` Stefan Monnier
  2016-11-22  4:06     ` Mark Oteiza
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2016-11-22  2:51 UTC (permalink / raw)
  To: emacs-devel; +Cc: Mark Oteiza

>      (if (fboundp 'font-lock-ensure)
>          (font-lock-ensure)
>        (when font-lock-defaults
> -        (font-lock-fontify-buffer))))
> +        (font-lock-ensure))))

That makes no sense: this code is in the `if` branch where
font-lock-ensure is not fboundp.


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Emacs-diffs] master 10efaf7: * lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure.
  2016-11-22  2:51   ` [Emacs-diffs] master 10efaf7: * lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure Stefan Monnier
@ 2016-11-22  4:06     ` Mark Oteiza
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Oteiza @ 2016-11-22  4:06 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

On 21/11/16 at 09:51pm, Stefan Monnier wrote:
> >      (if (fboundp 'font-lock-ensure)
> >          (font-lock-ensure)
> >        (when font-lock-defaults
> > -        (font-lock-fontify-buffer))))
> > +        (font-lock-ensure))))
> 
> That makes no sense: this code is in the `if` branch where
> font-lock-ensure is not fboundp.

Argh! Sorry, fixed.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-22  4:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20161121175743.15016.73050@vcs.savannah.gnu.org>
     [not found] ` <20161121175744.24A3E2201C5@vcs.savannah.gnu.org>
2016-11-22  2:51   ` [Emacs-diffs] master 10efaf7: * lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure Stefan Monnier
2016-11-22  4:06     ` Mark Oteiza

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).