commit cd87cc4eeac81432c438f3059bb410e45f7fc5d3
parent 5c5c2bb74ad095f8665f4f12dd67043ae82ffd69
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Sun, 28 May 2017 23:55:12 +0100
Abbreviate the file name
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helpful.el b/helpful.el
@@ -269,7 +269,7 @@ state of the current symbol."
(helpful--heading "\n\nReferences\n")
(if source-path
(format "Defined in %s\n%s\n"
- source-path
+ (abbreviate-file-name source-path)
(helpful--format-position-heads references))
"Could not find source file.\n")
(helpful--heading "\n\nDefinition\n")