aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-shell.el
diff options
context:
space:
mode:
authorDavid Aspinall2008-02-06 23:04:34 +0000
committerDavid Aspinall2008-02-06 23:04:34 +0000
commite9f0c029027fe3ddd286b6f533f67ff39e6c7e11 (patch)
tree6968beed6b658ffed1f59eab89e77c947abeaf92 /generic/proof-shell.el
parent21a46017792ae839d862136abbbc1fbb0056a07a (diff)
Use proof-auxmodes to load auxiliary modes properly when required.
Diffstat (limited to 'generic/proof-shell.el')
-rw-r--r--generic/proof-shell.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index 8d6545bd..20117797 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -870,9 +870,11 @@ which see."
;; Low-level commands for shell communication
;;
-(defvar proof-shell-insert-space-fudge
+(defconst proof-shell-insert-space-fudge
(cond
- ((string-match "21.*XEmacs" emacs-version) " ")
+ ((and (featurep 'xemacs)
+ (string-match "21.*XEmacs" emacs-version))
+ " ")
((featurep 'xemacs) "")
(t " "))
"String to insert after setting proof marker to prevent it moving.