GNU bug report logs -
#35022
custom-add-load, custom-load-symbol don't support filenames with directory components
Previous Next
Reported by: Allen Li <darkfeline <at> felesatra.moe>
Date: Wed, 27 Mar 2019 19:47:02 UTC
Severity: wishlist
Found in version 26.1
Done: Allen Li <darkfeline <at> felesatra.moe>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Please ignore my patch. In my haste, I missed that custom-load-symbol
already checks whether a dependency is already loaded, because that
logic wasn't firing for my case (where the load path is an actual path
rather than a package name).
To clarify, the existing code works for this:
;; Called from site-start
(custom-autoload 'foo-some-variable "foo" nil)
;; Called from init.el/package-initialize
(custom-autoload 'foo-some-variable "foo" nil)
But not for this:
;; Called from site-start
(custom-autoload 'foo-some-variable "some/path/to/foo" nil)
;; Called from init.el/package-initialize
(custom-autoload 'foo-some-variable "foo" nil)
I'm not sure yet what the proper approach for my problem is.
This bug report was last modified 6 years and 36 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.