changeset 54292:14c46cc5bc34

(gdb-assembler-mode, gdb-assembler-custom): Set up overlay arrow string properly for the assembler buffer.
author Nick Roberts <nickrob@snap.net.nz>
date Sat, 06 Mar 2004 12:02:25 +0000
parents bf240c02022c
children 114d973d4629
files lisp/gdb-ui.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gdb-ui.el	Sat Mar 06 12:01:36 2004 +0000
+++ b/lisp/gdb-ui.el	Sat Mar 06 12:02:25 2004 +0000
@@ -1831,7 +1831,6 @@
 	    (if (re-search-forward gdb-current-address nil t)
 		(progn
 		  (setq pos (point))
-		  (setq gdb-overlay-arrow-string "=>")
 		  (beginning-of-line)
 		  (or gdb-overlay-arrow-position
 		      (setq gdb-overlay-arrow-position (make-marker)))
@@ -1871,6 +1870,7 @@
   (setq major-mode 'gdb-assembler-mode)
   (setq mode-name "Machine")
   (push 'gdb-overlay-arrow-position overlay-arrow-variable-list)
+  (put 'gdb-overlay-arrow-position 'overlay-arrow-string "=>")
   (setq gdb-overlay-arrow-position nil)
   (setq fringes-outside-margins t)
   (setq buffer-read-only t)