Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7eabc1be
Commit
7eabc1be
authored
Apr 29, 2011
by
Stefan Monnier
Browse files
* lisp/progmodes/pascal.el: Use lexical binding.
(pascal-mode-map): Remove author preferences.
parent
20e0e05f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/progmodes/pascal.el
lisp/progmodes/pascal.el
+4
-3
No files found.
lisp/ChangeLog
View file @
7eabc1be
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.
...
...
lisp/progmodes/pascal.el
View file @
7eabc1be
;;; 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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment