view shared/hackbs.el @ 48:67c04dbeb162

merge
author Henry S Thompson <ht@inf.ed.ac.uk>
date Wed, 20 Dec 2023 18:06:25 +0000
parents 107d592c5f4a
children
line wrap: on
line source

;;; 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)