aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-09-07 02:35:29 +0000
committerGlenn Morris2009-09-07 02:35:29 +0000
commit8f09a02fc8ed6742265260fb686597f95bcb99c5 (patch)
tree61215e0b861932bdbbf5131a67f897e97530d0a3
parent448ecec3040e81e36c2c3953d3aa214fcc438f29 (diff)
downloademacs-8f09a02fc8ed6742265260fb686597f95bcb99c5.tar.gz
emacs-8f09a02fc8ed6742265260fb686597f95bcb99c5.zip
(proced-mode-map): Bind "d" to proced-mark-alt.
(proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/proced.el6
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 02fc18d671b..401d9618e6e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,9 @@
2 2
3 * files.el (auto-mode-alist): Use delphi-mode for .dpr files. 3 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
4 4
5 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
6 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
7
52009-09-06 Nick Roberts <nickrob@snap.net.nz> 82009-09-06 Nick Roberts <nickrob@snap.net.nz>
6 9
7 * vc-git.el (vc-git-annotate-command): Use separator to parse 10 * vc-git.el (vc-git-annotate-command): Use separator to parse
diff --git a/lisp/proced.el b/lisp/proced.el
index 1d11f71f216..ff571da4301 100644
--- a/lisp/proced.el
+++ b/lisp/proced.el
@@ -459,7 +459,7 @@ Important: the match ends just after the marker.")
459 (define-key km [down] 'next-line) 459 (define-key km [down] 'next-line)
460 (define-key km [up] 'previous-line) 460 (define-key km [up] 'previous-line)
461 ;; marking 461 ;; marking
462 (define-key km "d" 'proced-mark) ; Dired compatibility ("delete") 462 (define-key km "d" 'proced-mark-alt) ; Dired compatibility ("delete")
463 (define-key km "m" 'proced-mark) 463 (define-key km "m" 'proced-mark)
464 (define-key km "u" 'proced-unmark) 464 (define-key km "u" 'proced-unmark)
465 (define-key km "\177" 'proced-unmark-backward) 465 (define-key km "\177" 'proced-unmark-backward)
@@ -716,6 +716,10 @@ The time interval for updates is specified via `proced-auto-update-interval'."
716 (interactive "p") 716 (interactive "p")
717 (proced-do-mark t count)) 717 (proced-do-mark t count))
718 718
719;; So we can preferentially advertise the "m" binding in the mode help,
720;; rather than the "d" one.
721(defalias 'proced-mark-alt 'proced-mark)
722
719(defun proced-unmark (&optional count) 723(defun proced-unmark (&optional count)
720 "Unmark the current (or next COUNT) processes." 724 "Unmark the current (or next COUNT) processes."
721 (interactive "p") 725 (interactive "p")