diff options
author | 2006-09-08 08:34:46 +0000 | |
---|---|---|
committer | 2006-09-08 08:34:46 +0000 | |
commit | 2fb137dc539ac966f571e7e065ff4fab7f8b33b4 (patch) | |
tree | 45ead2765d3028f18cf3c576708e64dae81944e8 /coq/coq.el | |
parent | e68b54486c6f010a13a6de11e2ff3e0858f40a59 (diff) |
Fixed nested comment support for scripting, in xemacs (worked already
on GNU Emacs). Instanciated proof-parse-function for that...
Diffstat (limited to 'coq/coq.el')
-rw-r--r-- | coq/coq.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -832,6 +832,11 @@ This is specific to `coq-mode'." proof-state-preserving-p 'coq-state-preserving-p ) + ;; This one to deal with nested comments in xemacs + (if (string-match "XEmacs" emacs-version) + (setq proof-script-parse-function 'coq-parse-function) + ) + (setq proof-save-command-regexp coq-save-command-regexp proof-really-save-command-p 'coq-save-command-p ;pierre:deals with Proof <term>. proof-save-with-hole-regexp coq-save-with-hole-regexp @@ -1427,7 +1432,6 @@ buffer." ;; clean the response buffer from ultra-ugly underlined command line ;; parsed above. Don't kill the first \n (when (and clean mtch) (delete-region (+ mtch 1) (match-end 0))) - (goto-char (point-max)) (when mtch (let* ((pos (length (match-string 1))) (lgth (length (match-string 2))) |