From: Nick Roberts Date: Tue, 6 Feb 2007 03:40:33 +0000 (+0000) Subject: (gdb-frames-mode): Truncate lines in stack X-Git-Tag: emacs-pretest-22.0.94~376 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4a574c075488f8db6ffeb43e54e6162e1bd4193;p=emacs.git (gdb-frames-mode): Truncate lines in stack buffer. --- 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)