Commit ff396579 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

; * lisp/progmodes/gdb-mi.el (gdb-load-history): Add doc string.

parent 63a38fd2
Pipeline #27571 failed with stages
in 7 minutes and 38 seconds
......@@ -818,6 +818,9 @@ NOARG must be t when this macro is used outside `gud-def'."
(defvar gdb-control-level 0)
(defun gdb-load-history ()
"Load GDB history from a history file.
The name of the history file is given by environment variable GDBHISTFILE,
falling back to \".gdb_history\" and \".gdbinit\"."
(when (ring-empty-p comint-input-ring) ; cf shell-mode
(let ((hfile (expand-file-name (or (getenv "GDBHISTFILE")
(if (eq system-type 'ms-dos)
......
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