emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/mixal-mode.el,v


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/mixal-mode.el,v
Date: Wed, 31 Oct 2007 06:28:12 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Dan Nicolaescu <dann>   07/10/31 06:28:11

Index: progmodes/mixal-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/mixal-mode.el,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- progmodes/mixal-mode.el     26 Jul 2007 05:27:28 -0000      1.14
+++ progmodes/mixal-mode.el     31 Oct 2007 06:28:08 -0000      1.15
@@ -1091,15 +1091,19 @@
 (defun mixal-run ()
   "Run mixal file in current buffer, assumes that file has been compiled."
   (interactive)
+  (if (fboundp 'mixvm)
   (mixvm (concat "mixvm -r -t -d "
-                (file-name-sans-extension (buffer-file-name)))))
+                    (file-name-sans-extension (buffer-file-name))))
+    (error "mixvm.el needs to be loaded to run `mixvm'")))
 
 (defun mixal-debug ()
   "Start mixvm for debugging.
 Assumes that file has been compiled with debugging support."
   (interactive)
+  (if (fboundp 'mixvm)
   (mixvm (concat "mixvm "
-                (file-name-sans-extension (buffer-file-name)))))
+                    (file-name-sans-extension (buffer-file-name))))
+    (error "mixvm.el needs to be loaded to run `mixvm'")))
 
 ;;;###autoload
 (define-derived-mode mixal-mode fundamental-mode "mixal"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]