branch: externals/a68-mode commit e78236dc9e610e55910e86a0a82fa406db013f1d Author: Omar Polo <o...@omarpolo.com> Commit: Omar Polo <o...@omarpolo.com>
use kbd --- algol-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/algol-mode.el b/algol-mode.el index 0af003df89..f45d1d2f5b 100644 --- a/algol-mode.el +++ b/algol-mode.el @@ -40,9 +40,9 @@ (defvar a68-mode-map (let ((map (make-keymap))) - (define-key map "\C-j" #'newline-and-indent) - (define-key map "\r" #'a68-electric-terminate-line) - (define-key map "\t" #'a68-electric-tab) + (define-key map (kbd "C-j") #'newline-and-indent) + (define-key map (kbd "RET") #'a68-electric-terminate-line) + (define-key map (kbd "C-i") #'a68-electric-tab) map) "Keymap for Algol 68 major mode.")