From: Dan Nicolaescu Date: Thu, 1 May 2008 06:33:24 +0000 (+0000) Subject: (vc-dir-mode-map): Don't bind "r". X-Git-Tag: emacs-pretest-23.0.90~5915 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=97c66ed8cd26da701c68eeae5d1c20481453cbc0;p=emacs.git (vc-dir-mode-map): Don't bind "r". --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5c725b9eef2..4675f3ff710 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-05-01 Dan Nicolaescu + + * vc.el (vc-dir-mode-map): Don't bind "r". + 2008-05-01 John Paul Wallington * ibuffer.el (ibuffer-last-sorting-mode): New variable. diff --git a/lisp/vc.el b/lisp/vc.el index d6536e8a3ee..f13f4bd9d00 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -672,6 +672,9 @@ ;; - vc-cvs-delete-file should not do a "cvs commit" immediately after ;; removing the file. ;; +;; - vc-delete-file should check if the file contains non-checked in +;; changes and warn about losing them. +;; ;; - vc-create-snapshot and vc-retrieve-snapshot should update the ;; buffers that might be visiting the affected files. @@ -2985,7 +2988,6 @@ specific headers." (define-key map "x" 'vc-dir-hide-up-to-date) (define-key map "q" 'quit-window) (define-key map "g" 'vc-dir-refresh) - (define-key map "r" 'vc-dir-delete-file) ; like in PCL-CVS (define-key map "\C-c\C-c" 'vc-dir-kill-dir-status-process) ;; Does not work unless mouse sets point. Functions like vc-dir-find-file ;; need to find the file from the mouse position, not `point'.