]> git.eshelyaron.com Git - emacs.git/commitdiff
* eshell/esh-proc.el (eshell-reset-after-proc): Mark unused arg.
authorGlenn Morris <rgm@gnu.org>
Thu, 19 Sep 2013 02:55:00 +0000 (19:55 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 19 Sep 2013 02:55:00 +0000 (19:55 -0700)
lisp/ChangeLog
lisp/eshell/esh-proc.el

index 5384713cb40a28e7a6ff0bb4d6817547ac011552..e2173ef57cc12e6cc8dcdab6df05b4facc54088b 100644 (file)
@@ -14,7 +14,8 @@
 
        * eshell/em-smart.el (eshell-smart-scroll-window)
        (eshell-disable-after-change):
-       * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
+       * eshell/em-term.el (eshell-term-sentinel):
+       * eshell/esh-proc.el (eshell-reset-after-proc): Mark unused arg.
 
 2013-09-18  Alan Mackenzie  <acm@muc.de>
 
index e77287c2f7823428471cabfb8fb989d505730b54..b72e6328d641f6b0b908e35a1bccf44a1864a680 100644 (file)
@@ -133,7 +133,11 @@ PROC and STATUS to both."
 ; (define-key eshell-command-map [(control ?z)]  'eshell-stop-process)
   (define-key eshell-command-map [(control ?\\)] 'eshell-quit-process))
 
-(defun eshell-reset-after-proc (proc status)
+;; This used to be on `eshell-kill-hook', which calls its functions
+;; with two arguments.  Nowadays we call it directly in
+;; `eshell-kill-process-function', but in case anyone still has it
+;; on `eshell-kill-hook', _proc has to stay.
+(defun eshell-reset-after-proc (_proc status)
   "Reset the command input location after a process terminates.
 The signals which will cause this to happen are matched by
 `eshell-reset-signals'."