summaryrefslogtreecommitdiff
path: root/lisp/progmodes/pascal.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-04-29 14:34:28 -0300
committerStefan Monnier <monnier@iro.umontreal.ca>2011-04-29 14:34:28 -0300
commit7eabc1bec835d723ed5128441cffae163c4592f1 (patch)
tree5b0e532669f06321557b87b7c7b06a6312e39bdc /lisp/progmodes/pascal.el
parent20e0e05f00e547ed2b5655fff9e5e5c1057ac4f7 (diff)
downloademacs-7eabc1bec835d723ed5128441cffae163c4592f1.tar.gz
* lisp/progmodes/pascal.el: Use lexical binding.
(pascal-mode-map): Remove author preferences.
Diffstat (limited to 'lisp/progmodes/pascal.el')
-rw-r--r--lisp/progmodes/pascal.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index 2a243a99ffc..e28bb14bb9a 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -1,4 +1,4 @@
-;;; pascal.el --- major mode for editing pascal source in Emacs
+;;; pascal.el --- major mode for editing pascal source in Emacs -*- lexical-binding: t -*-
;; Copyright (C) 1993-2011 Free Software Foundation, Inc.
@@ -76,8 +76,9 @@
(define-key map ":" 'electric-pascal-colon)
(define-key map "=" 'electric-pascal-equal)
(define-key map "#" 'electric-pascal-hash)
- (define-key map "\r" 'electric-pascal-terminate-line)
- (define-key map "\t" 'electric-pascal-tab)
+ ;; These are user preferences, so not to set by default.
+ ;;(define-key map "\r" 'electric-pascal-terminate-line)
+ ;;(define-key map "\t" 'electric-pascal-tab)
(define-key map "\M-\t" 'pascal-complete-word)
(define-key map "\M-?" 'pascal-show-completions)
(define-key map "\177" 'backward-delete-char-untabify)