Skip to content

Commit e6b5aa1

Browse files
committed
Protect against missing basedir
1 parent 681efc1 commit e6b5aa1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
2025-07-19 Tamas Papp <tkpapp@gmail.com>
2+
13
# Unreleased
24

5+
- protect against missing basedir
6+
37
# 1.3.0
48

59
- allow vterm

julia-repl.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,8 @@ prevent further attempts."
459459
(unless (plist-member (cddr executable-record) :basedir)
460460
(let* ((executable-path (julia-repl--executable-path executable-record))
461461
(basedir (julia-repl--capture-basedir executable-path)))
462-
(nconc executable-record `(:basedir ,basedir))
462+
(when basedir
463+
(nconc executable-record `(:basedir ,basedir)))
463464
(unless basedir
464465
(warn "could not capture basedir for Julia executable %s"
465466
executable-path)))))

0 commit comments

Comments
 (0)