aboutsummaryrefslogtreecommitdiffhomepage
path: root/af2
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2000-09-12 16:39:16 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2000-09-12 16:39:16 +0000
commit30f57d1daa01cbb1f3716c8d2d4a354b2b8ec4fa (patch)
tree35daae52e4c295e8753c85f599d3b9907b866e4c /af2
parent0e72556eb9d98cfe775cf2482f2256cb0c187fe3 (diff)
Add syntax config for block comments, and remove path from af2-prog-name.
Diffstat (limited to 'af2')
-rw-r--r--af2/af2.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/af2/af2.el b/af2/af2.el
index d2254466..b0c9314c 100644
--- a/af2/af2.el
+++ b/af2/af2.el
@@ -19,7 +19,7 @@
;; ProofGeneral -> Internals -> Af2 config
;;
-(defcustom af2-prog-name "/home/raffalli/af2-all/af2/src/af2opt -pg"
+(defcustom af2-prog-name "af2 -pg"
"*Name of program to run Af2."
:type 'file
:group 'af2)
@@ -393,7 +393,11 @@ send a delete command to af2 for the symbol whose name is under the cursor."
"Af2 script" nil
(af2-config)
(af2-sym-lock-start)
- (proof-config-done))
+ (proof-config-done)
+ ;; Configure syntax table for block comments
+ (modify-syntax-entry ?\* ". 23")
+ (modify-syntax-entry ?\( "()1")
+ (modify-syntax-entry ?\) ")(4"))
(define-derived-mode af2-shell-mode proof-shell-mode
"Af2 shell" nil