GNU bug report logs - #33939
26.1; Avoid loading libs eagerly or unnecessarily in mhtml-mode/sgml-mode

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Tue, 1 Jan 2019 02:13:02 UTC

Severity: normal

Found in version 26.1

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 33939 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 33939 <at> debbugs.gnu.org
Subject: Re: 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 <sdl.web <at> gmail.com>
> Cc: 33939 <at> debbugs.gnu.org
> 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.




This bug report was last modified 6 years and 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.