view shared/hackbs.el @ 70:ef61b0f32027

merge
author Henry Thompson <ht@markup.co.uk>
date Mon, 09 Jun 2025 13:21:36 +0100
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)