[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ff3965795fb: ; * lisp/progmodes/gdb-mi.el (gdb-load-history): Add
From: |
Eli Zaretskii |
Subject: |
master ff3965795fb: ; * lisp/progmodes/gdb-mi.el (gdb-load-history): Add doc string. |
Date: |
Thu, 21 Dec 2023 06:57:32 -0500 (EST) |
branch: master
commit ff3965795fb80681111708e104f1edd32bdb6199
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * lisp/progmodes/gdb-mi.el (gdb-load-history): Add doc string.
---
lisp/progmodes/gdb-mi.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index cbb165a6a0c..b92514b4d0a 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master ff3965795fb: ; * lisp/progmodes/gdb-mi.el (gdb-load-history): Add doc string.,
Eli Zaretskii <=