diff options
| author | David Aspinall | 2009-09-14 22:11:35 +0000 |
|---|---|---|
| committer | David Aspinall | 2009-09-14 22:11:35 +0000 |
| commit | ef027954e62e193ab02bdd7d28254089da2babde (patch) | |
| tree | aaaa9ab56ae8b1c603ab8e488a1f575ee3cad29a | |
| parent | ab736337912b40814e57a3a28d7e7c8ef504f654 (diff) | |
Remove proof-strict-read-only-toggle call (no longer defined, and
anyway wrong technique). Instead use inhibit-read-only to allow write
in possibly read-only area.
| -rw-r--r-- | coq/coq.el | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1124,9 +1124,8 @@ tactical. Based on idea mentioned in Coq reference manual." proof-shell-last-response-output)) (substr (match-string 1 proof-shell-last-response-output))) (coq-find-command-end-backward) - (proof-strict-read-only-toggle -1) - (insert (concat " as " substr)) - (proof-strict-read-only-toggle 1))) + (let ((inhibit-read-only t)) + (insert (concat " as " substr))))) (defun coq-insert-match () |
