branch: externals/load-relative
commit 5055bfd80644e306aef4e7a7e3e9e5d765b691a4
Author: rocky <ro...@gnu.org>
Commit: rocky <ro...@gnu.org>

    Get ready for release 1.3.1
    
    Sync version numbers in confifure.ac and load-relative.el
    Some small lint-like things. Try lexical binding (when available).
    
    Than Stefan.
---
 THANKS           |  1 +
 configure.ac     |  8 +++++---
 load-relative.el | 10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/THANKS b/THANKS
index 14f04583c2..587268913e 100644
--- a/THANKS
+++ b/THANKS
@@ -1,2 +1,3 @@
 Phil Lord - Contribute find-file-noselect-relative, and with-relative-file
 Lars Anderson - Melpa packaging, among other things
+Stefan Monnier <monn...@iro.umontreal.ca> - Elisp guidance
diff --git a/configure.ac b/configure.ac
index b37b8179c4..489f12030f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,13 +1,15 @@
-AC_INIT(emacs-load-relative, 1.2,)
+AC_INIT(emacs-load-relative, 1.3.1,)
 AC_CONFIG_SRCDIR(load-relative.el)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 AM_MAINTAINER_MODE
 AM_MISSING_PROG(GIT2CL, git2cl, $missing_dir)
 
 AC_PATH_PROG(EMACS, emacs, no)
+AC_ARG_WITH(emacs, AC_HELP_STRING([--with-emacs],
+                  [location of emacs program]), EMACS=$withval)
 if test x$EMACS != xno ; then
   $EMACS -batch -q -no-site-file -eval \
-  '(if (<= emacs-major-version 22)
+  '(if (< emacs-major-version 23)
      (progn
        (error "You need GNU Emacs 23 or better for this package.")
        (kill-emacs 1)
diff --git a/load-relative.el b/load-relative.el
index 4cb70e5165..ed2f60e8bb 100644
--- a/load-relative.el
+++ b/load-relative.el
@@ -1,7 +1,7 @@
-;;; load-relative.el --- relative file load (within a multi-file Emacs package)
+;;; load-relative.el --- Relative file load (within a multi-file Emacs 
package) -*- lexical-binding: t -*-
 
 ;; Author: Rocky Bernstein <ro...@gnu.org>
-;; Version: 1.3
+;; Version: 1.3.1
 ;; Keywords: internal
 ;; URL: http://github.com/rocky/emacs-load-relative
 ;; Compatibility: GNU Emacs 23.x
@@ -124,7 +124,7 @@ readevalloop of `lread.c' as the car of variable
 Failing that, we use `load-file-name' which should work in some
 subset of the same places that the first method works.  However
 `load-file-name' will be nil for code that is eval'd.  To cover
-those cases, we try `buffer-file-name' which is initially
+those cases, we try function `buffer-file-name' which is initially
 correct, for eval'd code, but will change and may be wrong if the
 code sets or switches buffers after the initial execution.
 
@@ -173,8 +173,8 @@ methods work we will use the file-name value find via
                           file &optional docstring interactive type
                           symbol)
   ;; FIXME: Docstring talks of FUNCTION but argname is `function-or-list'.
-  "Autoload an Emacs Lisp file relative to Emacs Lisp code that is in
-the process of being loaded or eval'd.
+  "Autoload an Emacs Lisp file relative to Emacs Lisp code that is in the 
process
+of being loaded or eval'd.
 
 
 Define FUNCTION to autoload from FILE.  FUNCTION is a symbol.

Reply via email to