aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-12-15 13:12:29 +0100
committerJoakim Verona2012-12-15 13:12:29 +0100
commitc69b57e49b55064fca05150c90a396ca5cf4bde4 (patch)
treeb8c6e54acbf340f6559f301bdc2847bbc30220c3
parent6587f5a6f8b99e43a91aac72efee807c49042d94 (diff)
parent178fb95dc0f43541296beaf385905a7b626defb8 (diff)
downloademacs-c69b57e49b55064fca05150c90a396ca5cf4bde4.tar.gz
emacs-c69b57e49b55064fca05150c90a396ca5cf4bde4.zip
auto upstream
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired-x.el3
-rw-r--r--lisp/dired.el2
3 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0517a66916f..c291bba0f19 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2
3 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4 the prompt. (Bug#13045)
5
12012-12-14 Glenn Morris <rgm@gnu.org> 62012-12-14 Glenn Morris <rgm@gnu.org>
2 7
3 * emacs-lisp/macroexp.el (macroexp--warn-and-return): 8 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 1237eef86cf..ece73519686 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -1114,6 +1114,7 @@ See `dired-guess-shell-alist-user'."
1114 (if (null default) 1114 (if (null default)
1115 ;; Nothing to guess 1115 ;; Nothing to guess
1116 (read-shell-command prompt nil 'dired-shell-command-history) 1116 (read-shell-command prompt nil 'dired-shell-command-history)
1117 (setq prompt (replace-regexp-in-string ": $" " " prompt))
1117 (if (listp default) 1118 (if (listp default)
1118 ;; More than one guess 1119 ;; More than one guess
1119 (setq default-list default 1120 (setq default-list default
@@ -1124,7 +1125,7 @@ See `dired-guess-shell-alist-user'."
1124 ;; Just one guess 1125 ;; Just one guess
1125 (setq default-list (list default))) 1126 (setq default-list (list default)))
1126 ;; Put the first guess in the prompt but not in the initial value. 1127 ;; Put the first guess in the prompt but not in the initial value.
1127 (setq prompt (concat prompt (format "[%s] " default))) 1128 (setq prompt (concat prompt (format "[%s]: " default)))
1128 ;; All guesses can be retrieved with M-n 1129 ;; All guesses can be retrieved with M-n
1129 (setq val (read-shell-command prompt nil 1130 (setq val (read-shell-command prompt nil
1130 'dired-shell-command-history 1131 'dired-shell-command-history
diff --git a/lisp/dired.el b/lisp/dired.el
index 1d6c667e1dd..93f302329e3 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -4295,7 +4295,7 @@ instead.
4295;;;*** 4295;;;***
4296 4296
4297;;;### (autoloads (dired-do-relsymlink dired-jump-other-window dired-jump) 4297;;;### (autoloads (dired-do-relsymlink dired-jump-other-window dired-jump)
4298;;;;;; "dired-x" "dired-x.el" "a4e6844421c2c5e6fde90e959fbcc26f") 4298;;;;;; "dired-x" "dired-x.el" "a0a769bf895afcbb6d0e05169ef81923")
4299;;; Generated autoloads from dired-x.el 4299;;; Generated autoloads from dired-x.el
4300 4300
4301(autoload 'dired-jump "dired-x" "\ 4301(autoload 'dired-jump "dired-x" "\