"realgud-")
(require-relative-list '("init") "realgud:bashdb-")
+(declare-function realgud:expand-file-name-if-exists 'realgud-core)
(declare-function realgud-parse-command-arg 'realgud-core)
(declare-function realgud-query-cmdline 'realgud-core)
(declare-function realgud-suggest-invocation 'realgud-core)
((member arg '("--library" "-l"))
(setq arg (pop args))
(nconc debugger-args
- (list arg (expand-file-name (pop args)))))
+ (list arg (realgud:expand-file-name-if-exists
+ (pop args)))))
;; Other options with arguments.
((string-match "^-" arg)
(setq pair (realgud-parse-command-arg
(nconc debugger-args (car pair))
(setq args (cadr pair)))
;; Anything else must be the script to debug.
- (t (setq script-name (expand-file-name arg))
+ (t (setq script-name (realgud:expand-file-name-if-exists arg))
(setq script-args (cons script-name (cdr args))))
)))
(list interpreter-args debugger-args script-args annotate-p))))