`delete-key-deletes-forward' should not be used by itself. The right
way is to use `delete-forward-p' instead.
If you use `delete-key-deletes-forward', then the code will fail on X
keyboards without the backspace key, as well as on most TTY setups.
--- cc-cmds.el.orig Mon Sep 21 18:53:19 1998
+++ cc-cmds.el Mon Sep 21 18:53:43 1998
@@ -131,8 +131,8 @@
nil, or point is inside a literal then the function in the variable
`c-delete-function' is called."
(interactive "*P")
- (if (and (boundp 'delete-key-deletes-forward)
- delete-key-deletes-forward)
+ (if (and (fboundp 'delete-forward-p)
+ (delete-forward-p))
(if (or (not c-hungry-delete-key)
arg
(c-in-literal))
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
A jury consists of 12 persons chosen to decide who has the better
lawyer.