Commit 5c030910 authored by Nick Roberts's avatar Nick Roberts
Browse files

(jdb): Set gud-jdb-classpath-string to current

directory if CLASSPATH is not set.
parent 39d0296f
......@@ -2269,7 +2269,7 @@ gud, see `gud-mode'."
;; Set gud-jdb-classpath from the CLASSPATH environment variable,
;; if CLASSPATH is set.
(setq gud-jdb-classpath-string (getenv "CLASSPATH"))
(setq gud-jdb-classpath-string (or (getenv "CLASSPATH") "."))
(if gud-jdb-classpath-string
(setq gud-jdb-classpath
(gud-jdb-parse-classpath-string gud-jdb-classpath-string)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment