diff options
| author | Thomas Kleymann | 1998-01-05 14:59:03 +0000 |
|---|---|---|
| committer | Thomas Kleymann | 1998-01-05 14:59:03 +0000 |
| commit | 619e67a372a64a438d81eb4ac9e58f32f0579dff (patch) | |
| tree | 6ca4761677b3d2277b9393e6cd01d3f8239fba2b | |
| parent | cc98ac2df154d50032219756de7f7411bbd413ab (diff) | |
fixed a bug in the indenting functions
| -rw-r--r-- | lego.el | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -5,6 +5,9 @@ ;; $Log$ +;; Revision 1.33 1998/01/05 14:59:03 tms +;; fixed a bug in the indenting functions +;; ;; Revision 1.32 1997/11/26 14:15:21 tms ;; o simplified code: ;; lego-goal-with-hole-regexp and lego-save-with-hole-regexp is now @@ -474,7 +477,8 @@ (interactive) (save-excursion (beginning-of-line) - (if (< (point) (proof-locked-end)) + (if (and (eq proof-script-buffer (current-buffer)) + (< (point) (proof-locked-end))) (error "can't indent locked region!")) (let* ((state (lego-parse-to-point)) (beg (point)) @@ -492,7 +496,8 @@ (save-excursion (goto-char start) (beginning-of-line) - (if (< (point) (proof-locked-end)) + (if (and (eq proof-script-buffer (current-buffer)) + (< (point) (proof-locked-end))) (error "can't indent locked region!")) (let* ((beg (point)) (state (lego-parse-to-point)) |
