diff options
| author | Thomas Kleymann | 1996-11-13 14:57:54 +0000 |
|---|---|---|
| committer | Thomas Kleymann | 1996-11-13 14:57:54 +0000 |
| commit | 0d652f0ee9e925ac7fa3539cb4b18973a4ce04dd (patch) | |
| tree | fe70981bb2a38e6a7849e07e58db011cb95c38bf /ext.el | |
| parent | 41e0aab590ab1044f5ff8601873395f31a2fe249 (diff) | |
Yves Bertot:
If you click on an hypothesis name or a goal name, then Emacs generates
commands that are sent to lego but not stored in the script buffer.
The fix I have is to replace pbp-construct-command
Diffstat (limited to 'ext.el')
| -rw-r--r-- | ext.el | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -164,6 +164,7 @@ (mouse-set-point event) (pbp-construct-command)) + (defun pbp-construct-command () (let ((ext (extent-at (point) () 'lego-pbp)) (top-ext (extent-at (point) () 'lego-top-element))) @@ -177,11 +178,15 @@ (concat "Pbp " (cdr top-info) " " path ";"))))) ((extentp top-ext) (let ((top-info (extent-property top-ext 'lego-top-element))) - (proof-simple-send - (if (eq 'hyp (car top-info)) + (let ((value (if (eq 'hyp (car top-info)) (concat "Refine " (cdr top-info) ";") - (concat "Next +" (cdr top-info) ";")))))))) - + (concat "Next +" (cdr top-info) ";")))) + (proof-simple-send + value) + (if *script-buffer* + (progn (set-buffer *script-buffer*) + (end-of-buffer) + (insert-string value))))))))) |
