[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa-admin cbd75c6 082/357: README.md, load-relative.el: Go over
From: |
Stefan Monnier |
Subject: |
[elpa] elpa-admin cbd75c6 082/357: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short |
Date: |
Thu, 10 Dec 2020 18:06:19 -0500 (EST) |
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.
- [elpa] elpa-admin 1761424 031/357: Use archive-contents.el script., (continued)
- [elpa] elpa-admin 1761424 031/357: Use archive-contents.el script., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin ce02925 001/357: Initial revision, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin b824440 047/357: Minor rephrasing in README, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin b25e1bf 039/357: Rephrase documentation and comments, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 285d815 049/357: Fix last change., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 303f2c9 075/357: * admin/archive-contents.el (batch-make-site-package): New function., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin dfa5808 053/357: Rework archive-contents.el to handle new packages/ structure., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 6c94727 068/357: archive-contents.el (archive--simple-package-p): Fix prop-line matching., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin da7456c 065/357: write README in markdown, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 49fce77 070/357: Rename README to README.rst, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin cbd75c6 082/357: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short,
Stefan Monnier <=
- [elpa] elpa-admin c497b5b 083/357: * GNUmakefile: Rename from Makefile. Add targets for in-place use., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 42c5112 084/357: * GNUmakefile (%.elc): Don't depend on $(autoloads) since that causes, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 480283a 089/357: Move check_copyright to the makefile, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin bffc4a6 090/357: Don't create local branches, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 2ebff0e 093/357: Use README.{rst,md,org}; Auto-generate foo-pkg.el., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 55c3f5d 100/357: Add YAsnippet metadata., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 21e1b0e 101/357: Sync with yasnippet/master, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 4f4a301 104/357: * GNUmakefile: Obey a .elpaignore file in a package's root directory., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 0ed260a 107/357: add :keywords to extra package properties, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 52e4af0 105/357: Add new element to the archive-contents vector, and put, Stefan Monnier, 2020/12/10