bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#33939: 26.1; Avoid loading libs eagerly or unnecessarily in mhtml-mo


From: Eli Zaretskii
Subject: bug#33939: 26.1; Avoid loading libs eagerly or unnecessarily in mhtml-mode/sgml-mode
Date: Mon, 07 Jan 2019 21:56:59 +0200

> From:  Leo Liu <address@hidden>
> Cc: address@hidden
> Date: Mon, 07 Jan 2019 12:16:39 +0800
> 
> On 2019-01-07 05:37 +0200, Eli Zaretskii wrote:
> > I don't mind, of course, but if you want this to go to the release
> > branch, please show the proposed patch.
> >
> > Thanks.
> 
> Should have attached it in the first place. This single line change
> delivers the most speed up.
> 
> diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
> index 016f0e8f..67a0c9f7 100644
> --- a/lisp/textmodes/css-mode.el
> +++ b/lisp/textmodes/css-mode.el
> @@ -32,7 +32,6 @@
>  
>  ;;; Code:
>  
> -(require 'eww)
>  (require 'cl-lib)
>  (require 'color)
>  (require 'seq)
> 

This is OK for the emacs-26 branch, thanks.





reply via email to

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