emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r114344: * eshell/esh-util.el (eshell-sublist): Remo


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114344: * eshell/esh-util.el (eshell-sublist): Remove unused local variable.
Date: Wed, 18 Sep 2013 02:45:36 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114344
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2013-09-17 19:45:31 -0700
message:
  * eshell/esh-util.el (eshell-sublist): Remove unused local variable.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/eshell/esh-util.el        eshutil.el-20091113204419-o5vbwnq5f7feedwu-1849
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-09-18 01:48:00 +0000
+++ b/lisp/ChangeLog    2013-09-18 02:45:31 +0000
@@ -5,6 +5,7 @@
        * eshell/em-cmpl.el (eshell-complete-parse-arguments):
        * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
        * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
+       * eshell/esh-util.el (eshell-sublist):
        Remove unused local variables.
 
        * eshell/esh-io.el (x-select-enable-clipboard): Declare.

=== modified file 'lisp/eshell/esh-util.el'
--- a/lisp/eshell/esh-util.el   2013-09-16 18:23:30 +0000
+++ b/lisp/eshell/esh-util.el   2013-09-18 02:45:31 +0000
@@ -217,8 +217,7 @@
 (defun eshell-sublist (l &optional n m)
   "Return from LIST the N to M elements.
 If N or M is nil, it means the end of the list."
-  (let* ((a (copy-sequence l))
-        result)
+  (let ((a (copy-sequence l)))
     (if (and m (consp (nthcdr m a)))
        (setcdr (nthcdr m a) nil))
     (if n


reply via email to

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