emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 17a9e25: Some small lint-like things.


From: Rocky Bernstein
Subject: [elpa] master 17a9e25: Some small lint-like things.
Date: Sat, 1 Jun 2019 08:20:59 -0400 (EDT)

branch: master
commit 17a9e252e0000e8e67752ac9a97988d697cc3304
Author: rocky <address@hidden>
Commit: rocky <address@hidden>

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

diff --git a/packages/load-relative/THANKS b/packages/load-relative/THANKS
index f74a3ef..60303e8 100644
--- a/packages/load-relative/THANKS
+++ b/packages/load-relative/THANKS
@@ -1,2 +1,3 @@
 Phil Lord - Contribute find-file-noselect-relative, and with-relative-file
 Lars Anderson - Melapa packaging, among other things
+Stefan Monnier <address@hidden> - Elisp guidance
diff --git a/packages/load-relative/configure.ac 
b/packages/load-relative/configure.ac
index 35bddab..489f120 100644
--- a/packages/load-relative/configure.ac
+++ b/packages/load-relative/configure.ac
@@ -1,13 +1,15 @@
-AC_INIT(emacs-load-relative, 1.0,)
+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/packages/load-relative/load-relative.el 
b/packages/load-relative/load-relative.el
index c8f5815..e1a7bfe 100644
--- a/packages/load-relative/load-relative.el
+++ b/packages/load-relative/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 <address@hidden>
-;; 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

[Prev in Thread] Current Thread [Next in Thread]