We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2899530 commit 23faf61Copy full SHA for 23faf61
pythonic.el
@@ -91,7 +91,7 @@
91
(if (null alias-tuple)
92
path
93
(f-join (cadr alias-tuple)
94
- (substring path (length (car alias-tuple)))))))
+ (f-relative path (car alias-tuple))))))
95
96
(defun pythonic-unaliased-path (alias)
97
"Get real path from ALIAS."
@@ -103,8 +103,7 @@
103
104
alias
105
(f-join (car alias-tuple)
106
- (substring alias (min (length (cadr alias-tuple))
107
- (length alias)))))))
+ (f-relative alias (cadr alias-tuple))))))
108
109
(defun pythonic-has-alias-p (path)
110
"Check if given PATH has alias."
0 commit comments