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: Robert Pluim
Subject: Re: [PATCH] Allow hiding stashes from vc-dir
Date: Fri, 18 Oct 2019 15:43:47 +0200

>>>>> On Fri, 18 Oct 2019 15:22:46 +0300, Eli Zaretskii <address@hidden> said:
    Eli> Then it sounds like more debugging is needed to understand why
    Eli> autoloading seems to not work in this case.

I donʼt understand what's going on:

In vc-git.el I put:

    (eval-when-compile
      (message "cl-sub: '%s' '%s' '%s'" #'cl-subseq (symbol-file #'cl-subseq) 
(symbol-function #'cl-subseq)))

Which outputs:

    make[2]: Nothing to be done for `all'.
      ELC      vc/vc-git.elc
    Loading 
/Users/rpluim/repos/emacs-real-master/lisp/emacs-lisp/cl-loaddefs.el (source)...
    cl-sub: ’cl-subseq’ ’cl-extra’ ’(autoload cl-extra Return the subsequence 
of SEQ from START to END.
    If END is omitted, it defaults to the length of the sequence.
    If START or END is negative, it counts from the end.
    Signal an error if START or END are outside of the sequence (i.e
    too large if positive or too small if negative).

    (fn SEQ START &optional END) nil nil)’

    In end of data:
    vc/vc-git.el:1782:1:Warning: the function ‘cl-subseq’ might not be defined 
at
        runtime.

So the function has a correct autoload specification.

Robert



reply via email to

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