summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gdb-ui.el
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-02-06 03:40:33 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-02-06 03:40:33 +0000
commitd4a574c075488f8db6ffeb43e54e6162e1bd4193 (patch)
treed578226789ce1ade580c4d68e9ebab90dae1723b /lisp/progmodes/gdb-ui.el
parent046024c8d2a4270223f580e6cfc06d080267d2dd (diff)
downloademacs-d4a574c075488f8db6ffeb43e54e6162e1bd4193.tar.gz
(gdb-frames-mode): Truncate lines in stack
buffer.
Diffstat (limited to 'lisp/progmodes/gdb-ui.el')
-rw-r--r--lisp/progmodes/gdb-ui.el3
1 files changed, 2 insertions, 1 deletions
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)