]> git.eshelyaron.com Git - emacs.git/commitdiff
* eshell/esh-util.el (eshell-sublist): Remove unused local variable.
authorGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 02:45:31 +0000 (19:45 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 02:45:31 +0000 (19:45 -0700)
lisp/ChangeLog
lisp/eshell/esh-util.el

index 439b1db7d5f581b88b6370f4a4ef4900fae0d134..5b911a503b8ce06017648e34e01736b9325ee8e5 100644 (file)
@@ -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.
index 5e0aad8345f2435480e3d799dbd108718317eae7..6195f3976c11fe4f18256882408e23269336c877 100644 (file)
@@ -217,8 +217,7 @@ then quoting is done by a backslash, rather than a doubled delimiter."
 (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