aboutsummaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
authorDavid Aspinall1998-11-25 13:02:33 +0000
committerDavid Aspinall1998-11-25 13:02:33 +0000
commite6860a080a4dcc3cbd43c5fbf1904eae0ba190cd (patch)
treef537a708dfe1a9982a9bffa787eacd16431f9f5b /isa
parent5a5969e138e493b23b48ea92c09d8d1f3a100c6b (diff)
FSF Emacs fix for buffer-file-truename, which is the
*abbreviated* form of file-truename!
Diffstat (limited to 'isa')
-rw-r--r--isa/isa.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/isa/isa.el b/isa/isa.el
index e25692c7..2b87a5ac 100644
--- a/isa/isa.el
+++ b/isa/isa.el
@@ -340,7 +340,11 @@ isa-proofscript-mode."
(proof-splash-timeout-waiter))
;; Has this theory file already been loaded by Isabelle?
;; Colour it blue if so.
- (and (member buffer-file-truename proof-included-files-list)
+ ;; NB: call to file-truename is needed for FSF Emacs which
+ ;; chooses to make buffer-file-truename abbreviate-file-name
+ ;; form of file-truename.
+ (and (member (file-truename buffer-file-truename)
+ proof-included-files-list)
(proof-mark-buffer-atomic (current-buffer)))
)
(t