* lisp/progmodes/pascal.el: Declare `ind' as dyn-bound.

Fixes: debbugs:10264
This commit is contained in:
Stefan Monnier 2011-12-13 10:33:25 -05:00
parent 53524d9377
commit 15e0efc7dc
3 changed files with 1093 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2011-12-13 Martin Rudalics <rudalics@gmx.at>
* window.el (delete-other-windows): Use correct frame in call to

View file

@ -786,6 +786,7 @@ on the line which ends a function or procedure named NAME."
(if (looking-at "[ \t]+$")
(skip-chars-forward " \t"))))
(defvar ind) ;Used via `eval' in pascal-indent-alist.
(defun pascal-indent-line ()
"Indent current line as a Pascal statement."
(let* ((indent-str (pascal-calculate-indent))

1088
test/indent/pascal.pas Normal file

File diff suppressed because it is too large Load diff