mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 19:03:24 +00:00

As a consequence of the discussions in Bug#65735, move to using the new key-translate function instead of the deprecated keyboard-translate. For future maintainers: ?\C-? or ?\177 do not mean "DEL" with key-translate, you have to use "DEL". * lisp/simple.el (normal-erase-is-backspace-mode): Use key-translate. * lisp/term/bobcat.el (terminal-init-bobcat): Use key-translate.
11 lines
301 B
EmacsLisp
11 lines
301 B
EmacsLisp
;;; bobcat.el -*- lexical-binding:t -*-
|
|
|
|
(defun terminal-init-bobcat ()
|
|
"Terminal initialization function for bobcat."
|
|
;; HP terminals usually encourage using ^H as the rubout character
|
|
(key-translate "DEL" "C-h")
|
|
(key-translate "C-h" "DEL"))
|
|
|
|
(provide 'term/bobcat)
|
|
|
|
;;; bobcat.el ends here
|