Peter Szilagyi avatar Peter Szilagyi committed 2ac363e

Temporary Hurricane Sandy adjustments.

Comments (0)

Files changed (1)

   :group 'omake
   :type 'string)
 
+;; CR pszilagyi: Change Omake.omake-command semi-temporarily in a
+;; simple but easily overridden way.  A more sophisticated alternative
+;; would be to look at context to decide if we're in TOT, but KISS.
+(defvar Omake.omake-command-after-sandy "jomake -j 1")
+
 (defcustom Omake.prompt-before-killing-project t
   "If t, prompt y/n before killing a project"
   :group 'omake
      (_ (when (Omake.Model.has id) (error "A model for %s already exists" id)))
      (env (Omake.Env.create id))
      (verbose nil)
-     (command Omake.omake-command)
+     (command Omake.omake-command-after-sandy)
      (omakeroot-dir (Omake.Path.omakeroot-dir compilation-dir))
      (error-buffer (Omake.Buffer.create Omake.Buffer.Error compilation-dir) model)
      ;; turn on omake-mode in the error buffer
         ;; Create the model
         (let ((user-command
                (when read-command
-                 (read-from-minibuffer "Command: " Omake.omake-command))))
+                 (read-from-minibuffer "Command: " Omake.omake-command-after-sandy))))
           (Omake.Model.create path user-command))
         ;; Show the error buffer
         (Omake.show-error-buffer)))))
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.