Mercurial > emacs
comparison lisp/emacs-lisp/lisp-mode.el @ 38315:d34fd7c9092b
(lisp-mode-shared-map): Bind TAB
to lisp-indent-line.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 06 Jul 2001 15:33:15 +0000 |
parents | 8a3e61895b17 |
children | 253f761ad37b |
comparison
equal
deleted
inserted
replaced
38314:5fa40c87fc5b | 38315:d34fd7c9092b |
---|---|
154 (- (match-end 0) (match-beginning 0)))) | 154 (- (match-end 0) (match-beginning 0)))) |
155 | 155 |
156 | 156 |
157 (defvar lisp-mode-shared-map | 157 (defvar lisp-mode-shared-map |
158 (let ((map (make-sparse-keymap))) | 158 (let ((map (make-sparse-keymap))) |
159 (define-key map "\t" 'lisp-indent-line) | |
159 (define-key map "\e\C-q" 'indent-sexp) | 160 (define-key map "\e\C-q" 'indent-sexp) |
160 (define-key map "\177" 'backward-delete-char-untabify) | 161 (define-key map "\177" 'backward-delete-char-untabify) |
161 ;; This gets in the way when viewing a Lisp file in view-mode. As | 162 ;; This gets in the way when viewing a Lisp file in view-mode. As |
162 ;; long as [backspace] is mapped into DEL via the | 163 ;; long as [backspace] is mapped into DEL via the |
163 ;; function-key-map, this should remain disabled!! | 164 ;; function-key-map, this should remain disabled!! |