Commit 04d3b870 authored by Nick Roberts's avatar Nick Roberts
Browse files

(gud-menu-map): Correct condition for fringe.

parent cafc272c
......@@ -139,13 +139,13 @@ Used to grey out relevant togolbar icons.")
([remove] menu-item "Remove Breakpoint" gud-remove
:enable (not gud-running)
:visible (not (and (memq gud-minor-mode '(gdbmi gdba))
(window-fringes))))
(> (car (window-fringes)) 0))))
([tbreak] menu-item "Temporary Breakpoint" gud-tbreak
:enable (memq gud-minor-mode '(gdbmi gdba gdb sdb xdb bashdb)))
([break] menu-item "Set Breakpoint" gud-break
:enable (not gud-running)
:visible (not (and (memq gud-minor-mode '(gdbmi gdba))
(window-fringes))))
(> (car (window-fringes)) 0))))
([up] menu-item "Up Stack" gud-up
:enable (and (not gud-running)
(memq gud-minor-mode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment