* lisp/progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.

(opascal-newline-always-indents): Remove custom.
(opascal-tab, opascal-newline): Remove commands.
(opascal-new-comment-line): Insert "\n" instead of calling newline.
(opascal-mode-map): Keep default bindings for RET and TAB and DEL.
(opascal-save-match-data): Remove, use save-match-data instead.
(opascal-save-state): Use with-silent-modifications.
This commit is contained in:
Stefan Monnier 2013-01-30 20:58:24 -05:00
parent 9ca243c631
commit c4f268a137
4 changed files with 752 additions and 809 deletions

View file

@ -71,6 +71,12 @@ bound to <f11> and M-<f10>, respectively.
* Changes in Specialized Modes and Packages in Emacs 24.4
** Delphi mode is now called OPascal mode.
*** All delphi-* variables and functions have been renamed to opascal-*.
*** `delphi-newline-always-indents' is not supported any more
use `electric-indent-mode' instead.
*** `delphi-tab' is gone, replaced by `indent-for-tab-command'.
** jit-lock-debug-mode lets you use the debuggers on code run via jit-lock.
** completing-read-multiple's separator can now be a regexp.

View file

@ -1,5 +1,13 @@
2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
(opascal-newline-always-indents): Remove custom.
(opascal-tab, opascal-newline): Remove commands.
(opascal-new-comment-line): Insert "\n" instead of calling newline.
(opascal-mode-map): Keep default bindings for RET and TAB and DEL.
(opascal-save-match-data): Remove, use save-match-data instead.
(opascal-save-state): Use with-silent-modifications.
* progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
(bug#13585).

File diff suppressed because it is too large Load diff

View file

@ -25,6 +25,8 @@
{$gnu-pascal,I+}
// Free-pascal style comment.
program CRTDemo;
uses GPC, CRT;