mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-09 01:05:39 -08:00
; * lisp/progmodes/gdb-mi.el (gdb-load-history): Add doc string.
This commit is contained in:
parent
63a38fd292
commit
ff3965795f
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue