diff options
| author | Stefan Monnier | 2001-07-09 00:49:22 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-07-09 00:49:22 +0000 |
| commit | 7443aaa688f3ef8014d2f9472c018982219eac97 (patch) | |
| tree | 85cffb26f05776af2f5108030a89a2d0bab58f70 /lisp/progmodes | |
| parent | 851040a566e53b9bce4400eda47b90647b96bb19 (diff) | |
| download | emacs-7443aaa688f3ef8014d2f9472c018982219eac97.tar.gz emacs-7443aaa688f3ef8014d2f9472c018982219eac97.zip | |
Extended the kludge to interoperate with the
delsel and pending-del packages wrt to the new function
`c-electric-delete-forward'.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/cc-cmds.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 7b71b83a825..273b7c55652 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el | |||
| @@ -1202,6 +1202,8 @@ sentence motion in or near comments and multiline strings." | |||
| 1202 | (put 'c-electric-delete 'pending-delete 'supersede) ; pending-del | 1202 | (put 'c-electric-delete 'pending-delete 'supersede) ; pending-del |
| 1203 | (put 'c-electric-backspace 'delete-selection 'supersede) ; delsel | 1203 | (put 'c-electric-backspace 'delete-selection 'supersede) ; delsel |
| 1204 | (put 'c-electric-backspace 'pending-delete 'supersede) ; pending-del | 1204 | (put 'c-electric-backspace 'pending-delete 'supersede) ; pending-del |
| 1205 | (put 'c-electric-delete-forward 'delete-selection 'supersede) ; delsel | ||
| 1206 | (put 'c-electric-delete-forward 'pending-delete 'supersede) ; pending-del | ||
| 1205 | 1207 | ||
| 1206 | 1208 | ||
| 1207 | ;; This is used by indent-for-comment to decide how much to indent a | 1209 | ;; This is used by indent-for-comment to decide how much to indent a |