# HG changeset patch # User Stefan Monnier # Date 994639751 0 # Node ID 9abf5821d050e8a6c095841f713550eeff97e5ea # Parent a7ae05fb81a6bd2a5db85216a6c53c5ffc4d34df Extended the kludge to interoperate with the delsel and pending-del packages wrt to the new function `c-electric-delete-forward'. diff -r a7ae05fb81a6 -r 9abf5821d050 lisp/progmodes/cc-cmds.el --- 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