diff shared/hackbs.el @ 0:107d592c5f4a

DICE versions, used by pers/common, recursive, I think/hope
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 08 Feb 2021 11:44:37 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/shared/hackbs.el	Mon Feb 08 11:44:37 2021 +0000
@@ -0,0 +1,12 @@
+;;; Last edited: Tue Sep  9 10:22:22 2003
+;;; Hack bs vs ctrl-h
+
+(provide 'hackbs)
+(defun hack-ctlh (prompt)
+  (if (eq (device-or-frame-type (frame-device)) 'tty)
+    [(backspace)]
+    [(control h)]))
+
+(define-key key-translation-map [(control h)] 'hack-ctlh)
+
+