aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-script.el
diff options
context:
space:
mode:
authorDavid Aspinall2003-02-19 11:55:14 +0000
committerDavid Aspinall2003-02-19 11:55:14 +0000
commitd20c700fb74490a3f3287a963e33c4b8bb6459ee (patch)
tree8b9ee2addb4e6b5ba74511df8970bbce28f429eb /generic/proof-script.el
parent4c1b7e66cd1844149963d42855e55f65c5109204 (diff)
Leave packages' own hooks (X-Symbol, MMM) to deal with turning on or
off minor modes in buffers automatically. Now the PG setting controls the "default global for PG buffers" for each of these. The menu checkbox simply displays the current minor mode status. When this is changed, the PG global mode follows suit. We do not try to apply the change to all PG buffers (30 minutes of fontification!).
Diffstat (limited to 'generic/proof-script.el')
-rw-r--r--generic/proof-script.el12
1 files changed, 3 insertions, 9 deletions
diff --git a/generic/proof-script.el b/generic/proof-script.el
index 589abe15..6247267e 100644
--- a/generic/proof-script.el
+++ b/generic/proof-script.el
@@ -13,7 +13,8 @@
(require 'span) ; abstraction of overlays/extents
(require 'pg-user) ; user-level commands
(require 'proof-menu) ; menus for script mode
-
+(require 'proof-x-symbol) ; x-symbol (maybe put on automode list)
+(require 'proof-mmm) ; mmm (ditto)
;; Nuke some byte-compiler warnings
@@ -2494,15 +2495,8 @@ assistant."
;; Fontlock support.
;;
;; Assume font-lock case folding follows proof-case-fold-search
- (proof-font-lock-configure-defaults 'autofontify proof-case-fold-search)
+ (proof-font-lock-configure-defaults 'autofontify proof-case-fold-search))
- ;; Maybe turn on x-symbol mode and MMM mode
- (proof-x-symbol-mode)
- ;; FIXME: slight bugginess here with MMM mode/font-lock: visiting
- ;; a fresh file leaves the progress bar up. Perhaps turning
- ;; on MMM here is wrong, is should happen automatically?
- (proof-mmm-enable))
-