[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin ab46aeb 014/439: Relative loads for Emacs Lisp files
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin ab46aeb 014/439: Relative loads for Emacs Lisp files. Adds functions __FILE__ and |
Date: |
Sun, 17 Oct 2021 15:47:26 -0400 (EDT) |
branch: elpa-admin
commit ab46aeb4bbdf75a5180dec9111583cecf24a41d5
Author: rocky <rocky@gnu.org>
Commit: rocky <rocky@gnu.org>
Relative loads for Emacs Lisp files. Adds functions __FILE__ and
load-relative.
---
README | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/README b/README
new file mode 100644
index 0000000..3ddcec8
--- /dev/null
+++ b/README
@@ -0,0 +1,19 @@
+Here we add two functions load-relative and __FILE__
+
+load-relative(symbol) loads an Emacs Lisp file relative to another
+(presumably currently running) Emacs Lisp file.
+
+Example:
+
+(provide 'foo-bar)
+(load-relative "baz" 'foo-bar)
+
+__FILE__(symbol) returns the file that symbol was defined it, however
+if you are currently running load, that file name is given instead.
+If symbol is not defined and you are not loading a file, then nil is
+returned.
+
+The symbol parameter is an artifact in both load-relative and __FILE__
+that I would like to remove. Right now I don't see how to.
+
+
- [nongnu] branch elpa-admin created (now e71d294), Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin ce02925 001/439: Initial revision, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 20cbb20 002/439: * sml-mode.texi: somewhat updated the doc., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin da5ff0a 003/439: Added to CVS (formerly not under RCS)., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 015e981 004/439: # Added comment about loading supplied classes separately., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin b584cdf 007/439: # Updated., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c2674b7 012/439: exclude html files from svn, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin bd19e1f 015/439: Start to use load-relative. dbgr-core.el: fix bug in dbgr-term-sentinal, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin ab46aeb 014/439: Relative loads for Emacs Lisp files. Adds functions __FILE__ and,
Philip Kaludercic <=
- [nongnu] elpa-admin 5bb5972 016/439: load-relative.el: Add provide-me and make GPL v3., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d656221 020/439: Track original positions in the face of possible edits. Intended use in debugging where one might edit the file but continue editing., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 487ee79 022/439: Update README to note dependencies and what debugger's we've got., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a53e009 023/439: Merge branch 'master' of github.com:rocky/emacs-dbgr, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8b07a20 027/439: * README: Explain how to run the repo build script., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 370423c 026/439: * COPYING, ChangeLog, README, admin/org-synch.el,, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a703bf2 025/439: Merge branch 'master' of github.com:rocky/emacs-load-relative, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 14ac0ef 040/439: Merge branch 'action', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 35ba6e2 055/439: Update README to describe the new repository layout., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 4866cb7 057/439: admin/archive-contents.el (archive--delete-elc-files): Delete backup files too., Philip Kaludercic, 2021/10/17