changeset 38326:9abf5821d050

Extended the kludge to interoperate with the delsel and pending-del packages wrt to the new function `c-electric-delete-forward'.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 09 Jul 2001 00:49:11 +0000
parents a7ae05fb81a6
children e0de2b7e4d81
files lisp/progmodes/cc-cmds.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-cmds.el	Sun Jul 08 22:58:10 2001 +0000
+++ b/lisp/progmodes/cc-cmds.el	Mon Jul 09 00:49:11 2001 +0000
@@ -1202,6 +1202,8 @@
 (put 'c-electric-delete    'pending-delete   'supersede) ; pending-del
 (put 'c-electric-backspace 'delete-selection 'supersede) ; delsel
 (put 'c-electric-backspace 'pending-delete   'supersede) ; pending-del
+(put 'c-electric-delete-forward 'delete-selection 'supersede) ; delsel
+(put 'c-electric-delete-forward 'pending-delete   'supersede) ; pending-del
 
 
 ;; This is used by indent-for-comment to decide how much to indent a