summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2003-01-11 22:07:27 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2003-01-11 22:07:27 +0000
commitce36eb08e71cd5a8c05b97807e0ed00a1aa92daa (patch)
tree622a689fecd35e0e982d5910162e9df84d74cdae
parent15fdc46244a4661ee891f7952b0f3dce1a4529f8 (diff)
downloadmdk-ce36eb08e71cd5a8c05b97807e0ed00a1aa92daa.tar.gz
mdk-ce36eb08e71cd5a8c05b97807e0ed00a1aa92daa.tar.bz2
bug fix: correctly detect the absence of menu bar
-rw-r--r--misc/mixvm.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/mixvm.el b/misc/mixvm.el
index 71e1fb5..c437dfd 100644
--- a/misc/mixvm.el
+++ b/misc/mixvm.el
@@ -98,7 +98,8 @@
(save-excursion
(let* ((buf (find-file-noselect file)))
(set-buffer buf)
- (gud-make-debug-menu)
+ (when (boundp 'gud-make-debug-menu)
+ (gud-make-debug-menu))
buf)))