User: scop
Date: 06/04/20 23:32:30
Modified: packages/unsupported/scop/vc ChangeLog vc-hooks.el
Log:
Bind C-x C-q to vc-toggle-read-only, thanks to Vegard Vesterheim.
Revision Changes Path
1.43 +5 -0 XEmacs/packages/unsupported/scop/vc/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/unsupported/scop/vc/ChangeLog,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -p -r1.42 -r1.43
--- ChangeLog 2006/04/16 14:19:44 1.42
+++ ChangeLog 2006/04/20 21:32:29 1.43
@@ -1,3 +1,8 @@
+2006-04-21 Ville Skyttä <scop(a)xemacs.org>
+
+ * vc-hooks.el: Bind C-x C-q to `vc-toggle-read-only' like in the
+ old vc package, thanks to Vegard Vesterheim.
+
2006-04-16 Ville Skyttä <scop(a)xemacs.org>
* vc.el: Sync with upstream.
1.11 +3 -0 XEmacs/packages/unsupported/scop/vc/vc-hooks.el
Index: vc-hooks.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/unsupported/scop/vc/vc-hooks.el,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- vc-hooks.el 2006/02/10 23:25:42 1.10
+++ vc-hooks.el 2006/04/20 21:32:29 1.11
@@ -619,6 +619,9 @@ in or out whenever you toggle the read-o
(vc-next-action verbose)
(toggle-read-only)))
+;; XEmacs addition: backwards compat with our old vc package.
+(define-key global-map "\C-x\C-q" 'vc-toggle-read-only)
+
(defun vc-default-make-version-backups-p (backend file)
"Return non-nil if unmodified versions should be backed up locally.
The default is to switch off this feature."
Show replies by date