aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2011-12-13 10:33:25 -0500
committerStefan Monnier2011-12-13 10:33:25 -0500
commit15e0efc7dc8e01b9416def38bc1f18fdabe70256 (patch)
tree26f2f2153f2482de56f0659109e70313466ff5bd /lisp
parent53524d93770aa3a789c50f6266020e20abd4093f (diff)
downloademacs-15e0efc7dc8e01b9416def38bc1f18fdabe70256.tar.gz
emacs-15e0efc7dc8e01b9416def38bc1f18fdabe70256.zip
* lisp/progmodes/pascal.el: Declare `ind' as dyn-bound.
Fixes: debbugs:10264
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/pascal.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 31533082b77..cc48e86efe3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4
12011-12-13 Martin Rudalics <rudalics@gmx.at> 52011-12-13 Martin Rudalics <rudalics@gmx.at>
2 6
3 * window.el (delete-other-windows): Use correct frame in call to 7 * window.el (delete-other-windows): Use correct frame in call to
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index b1502adbeb1..2db4309d9e0 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -786,6 +786,7 @@ on the line which ends a function or procedure named NAME."
786 (if (looking-at "[ \t]+$") 786 (if (looking-at "[ \t]+$")
787 (skip-chars-forward " \t")))) 787 (skip-chars-forward " \t"))))
788 788
789(defvar ind) ;Used via `eval' in pascal-indent-alist.
789(defun pascal-indent-line () 790(defun pascal-indent-line ()
790 "Indent current line as a Pascal statement." 791 "Indent current line as a Pascal statement."
791 (let* ((indent-str (pascal-calculate-indent)) 792 (let* ((indent-str (pascal-calculate-indent))