From d4a574c075488f8db6ffeb43e54e6162e1bd4193 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Tue, 6 Feb 2007 03:40:33 +0000 Subject: [PATCH] (gdb-frames-mode): Truncate lines in stack buffer. --- lisp/progmodes/gdb-ui.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index b18353d7024..f4f855f62a5 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -2158,8 +2158,9 @@ static char *magick[] = { (kill-all-local-variables) (setq major-mode 'gdb-frames-mode) (setq mode-name "Frames") - (setq gdb-stack-position nil) + (setq gdb-stack-position nil) (add-to-list 'overlay-arrow-variable-list 'gdb-stack-position) + (setq truncate-lines t) ;; Make it easier to see overlay arrow. (setq buffer-read-only t) (use-local-map gdb-frames-mode-map) (run-mode-hooks 'gdb-frames-mode-hook) -- 2.39.2