Mercurial > emacs
changeset 80436:0a96ecdd8f7a
(gdb-mouse-set-clear-breakpoint):
Fix in disassembly buffer (regression in 22.2).
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Thu, 03 Apr 2008 08:38:51 +0000 |
parents | 52c3828e9a93 |
children | 8faef799d3b8 |
files | lisp/progmodes/gdb-ui.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el Thu Apr 03 08:38:18 2008 +0000 +++ b/lisp/progmodes/gdb-ui.el Thu Apr 03 08:38:51 2008 +0000 @@ -1978,7 +1978,7 @@ (interactive "e") (mouse-minibuffer-check event) (let ((posn (event-end event))) - (if (buffer-file-name) + (if (or (buffer-file-name) (eq major-mode 'gdb-assembler-mode)) (if (numberp (posn-point posn)) (with-selected-window (posn-window posn) (save-excursion