branch: externals/a68-mode
commit b9f2f63410c767f1790f67690686c59430585cf6
Author: Omar Polo <[email protected]>
Commit: Omar Polo <[email protected]>
kill a68-electric-tab
the default TAB function `indent-for-tab-comment' already does the
right thing (r) and also handles regions.
---
a68-mode.el | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/a68-mode.el b/a68-mode.el
index 125a38efc3..32d3e757cb 100644
--- a/a68-mode.el
+++ b/a68-mode.el
@@ -64,7 +64,6 @@
(let ((map (make-sparse-keymap)))
(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.")
@@ -215,14 +214,6 @@
(unless (a68-within-string)
(a68-indent-line)))
-(defun a68-electric-tab ()
- "Function called when TAB is pressed in Algol68 mode."
- (interactive)
- (unless (save-excursion
- (beginning-of-line)
- (a68-within-string))
- (a68-indent-line)))
-
(defvar a68-mode-abbrev-table nil
"Abbreviation table used in `a68-mode' buffers.")