aboutsummaryrefslogtreecommitdiffhomepage
path: root/phox/phox.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2008-01-15 13:07:11 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2008-01-15 13:07:11 +0000
commit6a3c8d9bd0db3a4db6a01a0f587f309da568a943 (patch)
treeca5c18733e7e29d16e7cba52dd4c5f18ab072bf5 /phox/phox.el
parent5c326ac3969d8045c78f46aac4f058f16edbc570 (diff)
Many compatibility updates, bug fixes, rearrangements for compilation.
Diffstat (limited to 'phox/phox.el')
-rw-r--r--phox/phox.el27
1 files changed, 5 insertions, 22 deletions
diff --git a/phox/phox.el b/phox/phox.el
index 2c51e434..6edae61d 100644
--- a/phox/phox.el
+++ b/phox/phox.el
@@ -1,13 +1,13 @@
;; $State$ $Date$ $Revision$
(require 'proof) ; load generic parts
-(require 'proof-config)
-;; Adjust toolbar entries. (Must be done
-;; before proof-toolbar is loaded).
+;; Adjust toolbar entries. (Must be done before proof-toolbar is
+;; loaded).
-(if proof-running-on-XEmacs (setq phox-toolbar-entries
- (remassoc 'context phox-toolbar-entries)))
+(eval-after-load "pg-custom"
+ '(setq phox-toolbar-entries
+ (remassoc 'context phox-toolbar-entries)))
;; ======== User settings for PhoX ========
@@ -225,27 +225,10 @@
(proof-goals-config-done))
-;; The response buffer and goals buffer modes defined above are
-;; trivial. In fact, we don't need t²o define them at all -- they
-;; would simply default to "proof-response-mode" and "pg-goals-mode".
-
;; A more sophisticated instantiation might set font-lock-keywords to
;; add highlighting, or some of the proof by pointing markup
;; configuration for the goals buffer.
-;; The final piece of magic here is a hook which configures settings
-;; to get the proof shell running. Proof General needs to know the
-;; name of the program to run, and the modes for the shell, response,
-;; and goals buffers.
-
-(add-hook 'proof-pre-shell-start-hook 'phox-pre-shell-start)
-
-(defun phox-pre-shell-start ()
- (setq proof-prog-name phox-prog-name)
- (setq proof-mode-for-shell 'phox-shell-mode)
- (setq proof-mode-for-response 'phox-response-mode)
- (setq proof-mode-for-goals 'phox-goals-mode))
-
; completions
; dans completions.el
;(setq completion-min-length 6)