emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Allow hiding stashes from vc-dir


From: Eli Zaretskii
Subject: Re: [PATCH] Allow hiding stashes from vc-dir
Date: Fri, 18 Oct 2019 15:22:46 +0300

> From: Robert Pluim <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Fri, 18 Oct 2019 12:18:19 +0200
> 
> >>>>> On Fri, 18 Oct 2019 12:31:35 +0300, Eli Zaretskii <address@hidden> said:
> 
>     >> (provide 'cl-lib)
>     >> (unless (load "cl-loaddefs" 'noerror 'quiet)
>     >> ;; When bootstrapping, cl-loaddefs hasn't been built yet!
>     >> (require 'cl-macs)
>     >> (require 'cl-seq))
> 
>     Eli> Does this happen during byte-compilation?
> 
> I think so. With the following patch:
> 
> diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el
> index ff09691817..4238f09c1b 100644
> --- a/lisp/emacs-lisp/cl-lib.el
> +++ b/lisp/emacs-lisp/cl-lib.el
> @@ -627,7 +627,7 @@ substring
>  ;;; Miscellaneous.
>  
>  (provide 'cl-lib)
> -(unless (load "cl-loaddefs" 'noerror 'quiet)
> +(unless (load "cl-loaddefs" 'noerror)
>    ;; When bootstrapping, cl-loaddefs hasn't been built yet!
>    (require 'cl-macs)
>    (require 'cl-seq))
> 
> I get:
> 
> make[2]: Nothing to be done for `all'.
>   ELC      emacs-lisp/cl-lib.elc
> Loading /Users/rpluim/repos/emacs-real-master/lisp/emacs-lisp/cl-loaddefs.el 
> (source)...

Then it sounds like more debugging is needed to understand why
autoloading seems to not work in this case.

Thanks.



reply via email to

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