Mercurial > emacs
diff lisp/progmodes/cc-cmds.el @ 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 | 2692454f031f |
children | 4647f245dde5 |
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