diff options
| author | Juri Linkov | 2008-07-29 16:37:31 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-07-29 16:37:31 +0000 |
| commit | 48e740bfe455a962c1f667a3b3922cf7d1fff95c (patch) | |
| tree | 0669b97b10d6981ca1b249cc3489ad6b411d9880 | |
| parent | 5ec0c8924862df02c885656ed40cfb86d18152c0 (diff) | |
| download | emacs-48e740bfe455a962c1f667a3b3922cf7d1fff95c.tar.gz emacs-48e740bfe455a962c1f667a3b3922cf7d1fff95c.zip | |
(dired-mode-map): Rebind `dired-flag-garbage-files' from `&' to `%&'.
Bind `&' to `dired-do-async-shell-command'.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/dired.el | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b3c7d59a49d..6231fcac187 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2008-07-29 Juri Linkov <juri@jurta.org> | 1 | 2008-07-29 Juri Linkov <juri@jurta.org> |
| 2 | 2 | ||
| 3 | * dired-aux.el (dired-do-async-shell-command): New command. | ||
| 4 | |||
| 5 | * dired.el (dired-mode-map): Rebind `dired-flag-garbage-files' | ||
| 6 | from `&' to `%&'. Bind `&' to `dired-do-async-shell-command'. | ||
| 7 | |||
| 8 | 2008-07-29 Juri Linkov <juri@jurta.org> | ||
| 9 | |||
| 3 | * international/mule-cmds.el (ucs-names): New internal variable. | 10 | * international/mule-cmds.el (ucs-names): New internal variable. |
| 4 | (ucs-names): New function. | 11 | (ucs-names): New function. |
| 5 | (ucs-completions): New lazy completion variable. | 12 | (ucs-completions): New lazy completion variable. |
diff --git a/lisp/dired.el b/lisp/dired.el index 311744eeca0..afa06d11edd 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1195,7 +1195,6 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST." | |||
| 1195 | (define-key map "#" 'dired-flag-auto-save-files) | 1195 | (define-key map "#" 'dired-flag-auto-save-files) |
| 1196 | (define-key map "." 'dired-clean-directory) | 1196 | (define-key map "." 'dired-clean-directory) |
| 1197 | (define-key map "~" 'dired-flag-backup-files) | 1197 | (define-key map "~" 'dired-flag-backup-files) |
| 1198 | (define-key map "&" 'dired-flag-garbage-files) | ||
| 1199 | ;; Upper case keys (except !) for operating on the marked files | 1198 | ;; Upper case keys (except !) for operating on the marked files |
| 1200 | (define-key map "A" 'dired-do-search) | 1199 | (define-key map "A" 'dired-do-search) |
| 1201 | (define-key map "C" 'dired-do-copy) | 1200 | (define-key map "C" 'dired-do-copy) |
| @@ -1214,6 +1213,7 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST." | |||
| 1214 | (define-key map "X" 'dired-do-shell-command) | 1213 | (define-key map "X" 'dired-do-shell-command) |
| 1215 | (define-key map "Z" 'dired-do-compress) | 1214 | (define-key map "Z" 'dired-do-compress) |
| 1216 | (define-key map "!" 'dired-do-shell-command) | 1215 | (define-key map "!" 'dired-do-shell-command) |
| 1216 | (define-key map "&" 'dired-do-async-shell-command) | ||
| 1217 | ;; Comparison commands | 1217 | ;; Comparison commands |
| 1218 | (define-key map "=" 'dired-diff) | 1218 | (define-key map "=" 'dired-diff) |
| 1219 | (define-key map "\M-=" 'dired-backup-diff) | 1219 | (define-key map "\M-=" 'dired-backup-diff) |
| @@ -1241,6 +1241,7 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST." | |||
| 1241 | (define-key map "%H" 'dired-do-hardlink-regexp) | 1241 | (define-key map "%H" 'dired-do-hardlink-regexp) |
| 1242 | (define-key map "%R" 'dired-do-rename-regexp) | 1242 | (define-key map "%R" 'dired-do-rename-regexp) |
| 1243 | (define-key map "%S" 'dired-do-symlink-regexp) | 1243 | (define-key map "%S" 'dired-do-symlink-regexp) |
| 1244 | (define-key map "%&" 'dired-flag-garbage-files) | ||
| 1244 | ;; Commands for marking and unmarking. | 1245 | ;; Commands for marking and unmarking. |
| 1245 | (define-key map "*" nil) | 1246 | (define-key map "*" nil) |
| 1246 | (define-key map "**" 'dired-mark-executables) | 1247 | (define-key map "**" 'dired-mark-executables) |