emacs-devel
[Top][All Lists]
Advanced

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

Re: Autoloads and subdirectories


From: Stefan Monnier
Subject: Re: Autoloads and subdirectories
Date: Sat, 28 May 2016 15:07:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>     ;;;###autoload
>     (defconst realgud-content-dir
>       (file-name-directory
>        (or (and load-in-progress load-file-name)
>            (bound-and-true-p byte-compile-current-file)
>            buffer-file-name)))

Why do you need to check load-in-progress?
And why do you need to fallback on byte-compile-current-file or
buffer-file-name?


        Stefan




reply via email to

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