emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-toggle-read-only mishandles CVS ro file in presence of CVSREAD=1


From: Thien-Thi Nguyen
Subject: Re: vc-toggle-read-only mishandles CVS ro file in presence of CVSREAD=1
Date: Wed, 25 Jun 2008 11:35:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

() Miles Bader <address@hidden>
() Wed, 25 Jun 2008 14:36:00 +0900

   I say we just get rid of it and good riddance.

If/when we do that, many people's ~/.emacs will grow a
(unless (fboundp 'vc-toggle-read-only)
  (global-set-key
   "\C-x\C-q"
   (defun vc-toggle-read-only () "Damn Emacs 23!" (interactive)
     (if (or (and (boundp 'vc-dired-mode) vc-dired-mode)
             ;; use boundp because vc.el might not be loaded
             (vc-backend buffer-file-name))
         (vc-next-action nil)
       (toggle-read-only)))))

which will worm its way onto emacswiki DamnEmacs23, somehow.

But i'm ok w/ that (my ~/.emacs is already fortified :-D).

thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]