X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/88bc8332eb14bcc4780fd3fe3dd4de2205c31dbf..dcefd2bbc0e404c26f1e5b68c910404355f488fb:/lisp/eshell/esh-proc.el diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el index 86559f0472..8c6bad089c 100644 --- a/lisp/eshell/esh-proc.el +++ b/lisp/eshell/esh-proc.el @@ -1,6 +1,6 @@ ;;; esh-proc.el --- process management -*- lexical-binding:t -*- -;; Copyright (C) 1999-2015 Free Software Foundation, Inc. +;; Copyright (C) 1999-2016 Free Software Foundation, Inc. ;; Author: John Wiegley @@ -409,7 +409,8 @@ If QUERY is non-nil, query the user with QUERY before calling FUNC." (or all (not (nth 2 entry))) (or (not query) - (y-or-n-p (format query (process-name (car entry)))))) + (y-or-n-p (format-message query + (process-name (car entry)))))) (setq result (funcall func (car entry)))) (unless (memq (process-status (car entry)) '(run stop open closed)) @@ -480,11 +481,11 @@ See the variable `eshell-kill-processes-on-exit'." (save-window-excursion (list-processes) (if (or (not (eq eshell-kill-processes-on-exit 'ask)) - (y-or-n-p (format "Kill processes owned by `%s'? " - (buffer-name)))) + (y-or-n-p (format-message "Kill processes owned by `%s'? " + (buffer-name)))) (eshell-round-robin-kill (if (eq eshell-kill-processes-on-exit 'every) - "Kill Eshell child process `%s'? "))) + (format-message "Kill Eshell child process `%s'? ")))) (let ((buf (get-buffer "*Process List*"))) (if (and buf (buffer-live-p buf)) (kill-buffer buf)))