(gdb-create-define-alist): Don't call
gdb-cpp-define-alist-program if file is nil (currently only " *partial-output-...").
This commit is contained in:
parent
3621231b47
commit
f43ad7374f
1 changed files with 3 additions and 3 deletions
|
@ -435,11 +435,11 @@ otherwise do not."
|
|||
(output
|
||||
(with-output-to-string
|
||||
(with-current-buffer standard-output
|
||||
(call-process shell-file-name
|
||||
(if (file-exists-p file) file nil)
|
||||
(and file (file-exists-p file)
|
||||
(call-process shell-file-name file
|
||||
(list t nil) nil "-c"
|
||||
(concat gdb-cpp-define-alist-program " "
|
||||
gdb-cpp-define-alist-flags)))))
|
||||
gdb-cpp-define-alist-flags))))))
|
||||
(define-list (split-string output "\n" t)) (name))
|
||||
(setq gdb-define-alist nil)
|
||||
(dolist (define define-list)
|
||||
|
|
Loading…
Add table
Reference in a new issue