mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
* lisp/progmodes/pascal.el: Use lexical binding.
(pascal-mode-map): Remove author preferences.
This commit is contained in:
parent
20e0e05f00
commit
7eabc1bec8
@ -1,5 +1,8 @@
|
||||
2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* progmodes/pascal.el: Use lexical binding.
|
||||
(pascal-mode-map): Remove author preferences.
|
||||
|
||||
* pcomplete.el (pcomplete-std-complete): Don't abuse
|
||||
completion-at-point.
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user