branch: elpa/idris-mode
commit fbcee36be0c8c1da51b47166ab2bfc348da65396
Author: Marek L <[email protected]>
Commit: Marek L <[email protected]>
Remove unecessary function call `file-name-directory`
Why:
It is called inside of the `idris-ipkg-buffer-src-dir` function.
---
idris-ipkg-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idris-ipkg-mode.el b/idris-ipkg-mode.el
index 851b35f0ca..a3d5f6fe58 100644
--- a/idris-ipkg-mode.el
+++ b/idris-ipkg-mode.el
@@ -141,7 +141,7 @@
"Make all modules with existing files clickable, where clicking opens them."
(interactive)
(idris-clear-file-link-overlays 'idris-ipkg-mode)
- (let ((src-dir (idris-ipkg-buffer-src-dir (file-name-directory
(buffer-file-name)))))
+ (let ((src-dir (idris-ipkg-buffer-src-dir (buffer-file-name))))
;; Make the sourcedir clickable
(save-excursion
(goto-char (point-min))