emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master c6493c6: Fix seq requirement that broke bootstrap


From: Paul Eggert
Subject: [Emacs-diffs] master c6493c6: Fix seq requirement that broke bootstrap
Date: Mon, 23 May 2016 15:13:23 +0000 (UTC)

branch: master
commit c6493c68f8fd6a5e6893eb3837a1a27f8d8a98a8
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Fix seq requirement that broke bootstrap
    
    * lisp/image.el (image--get-image): Require seq here, not at the
    top level, to avoid ‘(require seq) while preparing to dump’ while
    bootstrapping.  Suggested by Tino Calancha in:
    http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00477.html
---
 lisp/image.el |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/image.el b/lisp/image.el
index a6464f7..e06cb6f 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -25,8 +25,6 @@
 
 ;;; Code:
 
-(require 'seq)
-
 (defgroup image ()
   "Image support."
   :group 'multimedia)
@@ -975,6 +973,7 @@ default is 20%."
                         0.8)))
 
 (defun image--get-image ()
+  (require 'seq)
   (let ((image (or (get-text-property (point) 'display)
                    ;; `put-image' uses overlays, so find an image in
                    ;; the overlays.



reply via email to

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