[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin cbd75c6 082/439: README.md, load-relative.el: Go ove
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin cbd75c6 082/439: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short |
Date: |
Sun, 17 Oct 2021 15:47:38 -0400 (EDT) |
branch: elpa-admin
commit cbd75c654cfb6d1581e59ab602947ebe3b5e6f4b
Author: rocky <rocky@gnu.org>
Commit: rocky <rocky@gnu.org>
README.md, load-relative.el: Go over documentation. Makefile.am: add
targets test and test-short
---
README | 44 --------------------------------------------
1 file changed, 44 deletions(-)
diff --git a/README b/README
deleted file mode 100644
index 223c9b0..0000000
--- a/README
+++ /dev/null
@@ -1,44 +0,0 @@
-h2. Emacs relative-file _load_, _require_ *==__FILE__==* and a _provide-me_
macro.
-
-Here we add functions: *load-relative*, *require-relative*,
*require-relative-list*, *==__FILE__==*, and macro *provide-me*.
-
-The latest version is at
"http://github.com/rocky/emacs-load-relative/"://github.com/rocky/emacs-load-relative/
-
-h3. *==__FILE__==*
-
-*==__FILE__==* returns the file name that that the calling program is running.
If you are _eval_'ing a buffer then the file name of that buffer is used. The
name was selected to be analogous to the name its use in C or Ruby.
-
-h3. _load-relative_
-
-_load-relative_ loads an Emacs Lisp file relative to another (presumably
currently running) Emacs Lisp file. For example if you have files _foo.el_ and
_bar.el_ in the same directory, then to load Emacs Lisp file _bar.el_ from
inside Emacs lisp file _foo.el_:
-
-bc. (require 'load-relative)
- (load-relative "baz")
-
-That _load-relative_ line could above have also been written as:
-
-bc. (load-relative "./baz")
-
-or:
-
-bc. (load-relative "baz.el") # if you want to exclude any byte-compiled files
-
-h3. require-relative, require-relative-list
-
-If instead of loading file _baz_, you want to _require_ it:
-
-bc. (require-relative "baz")
-
-or
-
-bc. (require-relative "./baz")
-
-The above not only does a _require_ on _'baz_, but makes sure you get that
from the same file as you would have if you had issued _load_relative_.
-
-If you have a list of files you want to _require_, you can require them one
shot using _require-relative-list_ like this:
-
-bc. (require-relative-list '("dbgr-init" "dbgr-fringe"))
-
-h3. provide-me
-
-Finally, macro _provide-me_ saves you the trouble of adding a symbol after
_provide_, by using the file basename (without directory or file extension) as
the name of the thing you want to provide. Using this forces the _provide_
names to be the same as the filename, but I consider that a good thing.
- [nongnu] elpa-admin cb72492 279/439: Merge branch 'ebdb-bits', (continued)
- [nongnu] elpa-admin cb72492 279/439: Merge branch 'ebdb-bits', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c60a3bb 280/439: Merge branch 'scratch/which-key', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8154769 282/439: * copyright_exceptions: Update for new uni-confusables/gen-confusables.el, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 280353e 287/439: Merge commit 'cb905bdc728fb3b5f9fdff8836d71b62bd717eab' from mmm-mode, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin aa346f0 290/439: * GNUmakefile (org-fetch): Use https and stick to wget, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 84f67ae 294/439: * admin/archive-contents.el (archive--insert-repolinks): Fix last change, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0c23652 046/439: Revert "Add an explicit OPERATION-MODE "nil" in README's examples", Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 99b8d94 054/439: admin/archive-contents.el (batch-make-archive, archive--process-simple-package): Use write-region, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c497b5b 083/439: * GNUmakefile: Rename from Makefile. Add targets for in-place use., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 42c5112 084/439: * GNUmakefile (%.elc): Don't depend on $(autoloads) since that causes, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin cbd75c6 082/439: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short,
Philip Kaludercic <=
- [nongnu] elpa-admin 833084f 126/439: Add 'packages/web-server/' from commit 'd0b6ae9df6014db2195da0081dc97cc8246f1fda', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 29880d4 115/439: Merge branch 'master' of git://bzr.sv.gnu.org/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d406160 122/439: Merge the two README. Update copyright_exceptions., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 428b368 137/439: Add "rudel" to the list of externals., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 88fb267 150/439: Update README to tell how to checkout a single external package., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 773b9dd 147/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5e1943e 157/439: Merge commit '469cd3bc117bfb8da0c03a2a2fb185e80c81d068', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin ed4d0fa 163/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 1b86fe8 166/439: Add 'packages/load-relative/' from commit '15ffaa9ebf1b7bbfcc307d1716eec135253b3b8d', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8d5c048 169/439: Merge commit 'c876c3c62f03d7e945b049932a55496b3cdfe05d', Philip Kaludercic, 2021/10/17