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

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

[elpa] master 89ecc05: * packages/shelisp/shelisp.el: Fix up copyright


From: Stefan Monnier
Subject: [elpa] master 89ecc05: * packages/shelisp/shelisp.el: Fix up copyright
Date: Sun, 7 Apr 2019 17:10:29 -0400 (EDT)

branch: master
commit 89ecc0518677fc57a2415467f98b475177bccc0c
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * packages/shelisp/shelisp.el: Fix up copyright
    
    Require cl-lib rather than cl-macs.
    (shelisp-exec-lisp): Also use lexical-binding internally.
---
 packages/shelisp/shelisp.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/packages/shelisp/shelisp.el b/packages/shelisp/shelisp.el
index 7d3cd98..2b5c38f 100644
--- a/packages/shelisp/shelisp.el
+++ b/packages/shelisp/shelisp.el
@@ -1,6 +1,6 @@
 ;;; shelisp.el --- execute elisp in shell          -*- lexical-binding: t; -*-
 
-;; Copyright (C) 2018, 2019  Michael R. Mauger
+;; Copyright (C) 2018-2019  Free Software Foundation, Inc.
 
 ;; Author: Michael R. Mauger <address@hidden>
 ;; Version: 0.9.0
@@ -85,7 +85,7 @@
 ;; the purpose is to create a valid elisp expression string.
 
 ;;; Code:
-(require 'cl-macs)
+(require 'cl-lib)
 (require 'pp)
 
 ;;;###autoload
@@ -150,7 +150,8 @@ convert it to a string."
                       (condition-case err
                           (shelisp--result-as-string
                            (eval `(cl-flet ((f (file) (shelisp--file-name 
file)))
-                                   ,(read cmd))))
+                                   ,(read cmd))
+                                 t))
                         ;; When an error occurs, replace with the error message
                        (error
                         (format "shelisp: `%s': %S" cmd err)))))



reply via email to

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