From a32857951d9123d003d67922758bdda5905b10ba Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 3 Sep 1996 21:46:07 +0000 Subject: [PATCH] (dired-mode-map): Add revert-buffer to Immediate menu. --- lisp/dired.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/dired.el b/lisp/dired.el index c22e5306e1d..2e1d706a6eb 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -868,6 +868,12 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh." (define-key map [menu-bar immediate] (cons "Immediate" (make-sparse-keymap "Immediate"))) + (define-key map [menu-bar immediate revert-buffer] + '("Update Buffer" . revert-buffer)) + + (define-key map [menu-bar immediate dashes] + '("--")) + (define-key map [menu-bar immediate backup-diff] '("Compare with Backup" . dired-backup-diff)) (define-key map [menu-bar immediate diff] -- 2.39.2