diff options
| author | David Aspinall | 2009-05-26 12:54:26 +0000 |
|---|---|---|
| committer | David Aspinall | 2009-05-26 12:54:26 +0000 |
| commit | 2954ca8d555af6290aa7b94b09ccebe276b466be (patch) | |
| tree | ca81f3f1f15045b211ded6c037c5e3821a49dbe2 /generic/proof-config.el | |
| parent | 51a8d16344647114cabfd481ac3cb2ddad7abfaa (diff) | |
Add proof-shell-strip-output-markup to handle pasting markedup texdt. Minor cleanups
Diffstat (limited to 'generic/proof-config.el')
| -rw-r--r-- | generic/proof-config.el | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el index c3f13b4b..258d501b 100644 --- a/generic/proof-config.el +++ b/generic/proof-config.el @@ -907,12 +907,6 @@ but you can set this variable to something else more precise if necessary." :type 'string :group 'proof-script) -(defcustom pg-insert-output-as-comment-fn nil - "Function to insert last output as a comment. Passed output as arg. -If left as nil, the default behaviour is to insert and call `comment-region'." - :type '(choice function nil) - :group 'proof-script) - (defcustom proof-string-start-regexp "\"" "Matches the start of a quoted string in the proof assistant command language." :type 'string @@ -1836,6 +1830,15 @@ The default value is \"\\n\" to match up to the end of the line." :type '(choice regexp (const :tag "Unset" nil)) :group 'proof-shell) +(defcustom proof-shell-strip-output-markup 'identity + "A function which strips markup from the process output. +This should remove any markup which is made invisible by font-lock +when displayed in the output buffer. This is used in +`pg-insert-last-output-as-comment' to insert output into the +proof script, and for cut and paste operations." + :type 'function + :group 'proof-shell) + (defcustom proof-shell-assumption-regexp nil "A regular expression matching the name of assumptions. |
