Mercurial > emacs
comparison lisp/emacs-lisp/lisp-mode.el @ 84652:bfafceb8e3dd
(lisp-mode-shared-map): Use the default TAB binding to obey tab-always-indent.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 19 Sep 2007 13:44:43 +0000 |
parents | 6499a8de7fcb |
children | 5039706521c9 |
comparison
equal
deleted
inserted
replaced
84651:3bde195a5005 | 84652:bfafceb8e3dd |
---|---|
259 1000 | 259 1000 |
260 len))) | 260 len))) |
261 | 261 |
262 (defvar lisp-mode-shared-map | 262 (defvar lisp-mode-shared-map |
263 (let ((map (make-sparse-keymap))) | 263 (let ((map (make-sparse-keymap))) |
264 (define-key map "\t" 'lisp-indent-line) | |
265 (define-key map "\e\C-q" 'indent-sexp) | 264 (define-key map "\e\C-q" 'indent-sexp) |
266 (define-key map "\177" 'backward-delete-char-untabify) | 265 (define-key map "\177" 'backward-delete-char-untabify) |
267 ;; This gets in the way when viewing a Lisp file in view-mode. As | 266 ;; This gets in the way when viewing a Lisp file in view-mode. As |
268 ;; long as [backspace] is mapped into DEL via the | 267 ;; long as [backspace] is mapped into DEL via the |
269 ;; function-key-map, this should remain disabled!! | 268 ;; function-key-map, this should remain disabled!! |