aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2007-02-06 03:40:33 +0000
committerNick Roberts2007-02-06 03:40:33 +0000
commitd4a574c075488f8db6ffeb43e54e6162e1bd4193 (patch)
treed578226789ce1ade580c4d68e9ebab90dae1723b
parent046024c8d2a4270223f580e6cfc06d080267d2dd (diff)
downloademacs-d4a574c075488f8db6ffeb43e54e6162e1bd4193.tar.gz
emacs-d4a574c075488f8db6ffeb43e54e6162e1bd4193.zip
(gdb-frames-mode): Truncate lines in stack
buffer.
-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[] = {
2158 (kill-all-local-variables) 2158 (kill-all-local-variables)
2159 (setq major-mode 'gdb-frames-mode) 2159 (setq major-mode 'gdb-frames-mode)
2160 (setq mode-name "Frames") 2160 (setq mode-name "Frames")
2161 (setq gdb-stack-position nil) 2161 (setq gdb-stack-position nil)
2162 (add-to-list 'overlay-arrow-variable-list 'gdb-stack-position) 2162 (add-to-list 'overlay-arrow-variable-list 'gdb-stack-position)
2163 (setq truncate-lines t) ;; Make it easier to see overlay arrow.
2163 (setq buffer-read-only t) 2164 (setq buffer-read-only t)
2164 (use-local-map gdb-frames-mode-map) 2165 (use-local-map gdb-frames-mode-map)
2165 (run-mode-hooks 'gdb-frames-mode-hook) 2166 (run-mode-hooks 'gdb-frames-mode-hook)