[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] new-master feebdea 029/128: README.md, load-relative.el: Go over
From: |
Stefan Monnier |
Subject: |
[elpa] new-master feebdea 029/128: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short |
Date: |
Mon, 14 Dec 2020 15:39:25 -0500 (EST) |
branch: new-master
commit feebdea0acf0dc64b86e9bde91fd02ec7b16128f
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] new-master 226da6a 007/128: Added script and documentation for installing from CVS, (continued)
- [elpa] new-master 226da6a 007/128: Added script and documentation for installing from CVS, Stefan Monnier, 2020/12/14
- [elpa] new-master d14b47a 010/128: * COPYING, ChangeLog, README, admin/org-synch.el,, Stefan Monnier, 2020/12/14
- [elpa] new-master 385d3ec 012/128: * README: Explain how to run the repo build script., Stefan Monnier, 2020/12/14
- [elpa] new-master b83d412 013/128: README: Document usage of this repository in detail., Stefan Monnier, 2020/12/14
- [elpa] new-master 3ec9dc4 002/128: # Added comment about loading supplied classes separately., Stefan Monnier, 2020/12/14
- [elpa] new-master 7a4e787 016/128: Update README to describe the new repository layout., Stefan Monnier, 2020/12/14
- [elpa] new-master f232d97 017/128: Add full licence text (COPYING), Stefan Monnier, 2020/12/14
- [elpa] new-master 54a4cb6 018/128: Initial checkin of files. These files were initially part of the, Stefan Monnier, 2020/12/14
- [elpa] new-master c1b76ff 019/128: Rework test-unit into something even simpler., Stefan Monnier, 2020/12/14
- [elpa] new-master fd0dc42 024/128: Initial Import, Stefan Monnier, 2020/12/14
- [elpa] new-master feebdea 029/128: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short,
Stefan Monnier <=
- [elpa] new-master 74b4742 035/128: Make html/index.html be consistent with other gnu.org websites., Stefan Monnier, 2020/12/14
- [elpa] new-master da544ac 036/128: Minor cleanup., Stefan Monnier, 2020/12/14
- [elpa] new-master 8b71768 039/128: seems to be generally usable, added a README, Stefan Monnier, 2020/12/14
- [elpa] new-master f9d81bd 014/128: Use archive-contents.el script., Stefan Monnier, 2020/12/14
- [elpa] new-master 0eba547 005/128: # Updated., Stefan Monnier, 2020/12/14
- [elpa] new-master 88df714 001/128: Added files required by automake., Stefan Monnier, 2020/12/14
- [elpa] new-master 6a1c8cc 004/128: # Updated for SourceForge, Stefan Monnier, 2020/12/14
- [elpa] new-master 36cbf39 003/128: # Updated stuff., Stefan Monnier, 2020/12/14
- [elpa] new-master 4e141e7 009/128: Administrivia. Add COPYING, update README and .gitignore, bump version number., Stefan Monnier, 2020/12/14
- [elpa] new-master 4e5239a 015/128: Add front-page /packages link., Stefan Monnier, 2020/12/14