Commits

Anonymous committed 4f3a00f

Make nxhtml less chatty and quicker to load.

  • Participants
  • Parent commits 4c75453

Comments (0)

Files changed (3)

File nxhtml/autostart.el

 
 (message "Nxml/Nxhtml Autostart.el loading ...")
 
-(defconst nxhtml-autostart-trace t)
+(defconst nxhtml-autostart-trace nil)
 (when (and nil nxhtml-autostart-trace)
   (setq trace-buffer "*Messages*")
   (trace-function-background 'require))
     (define-key global-map [(meta ?s) ?x] 'idxsearch))
 
   ;; How long time did it all take?
-  (message "Nxml/Nxhtml Autostart.el loaded in %.1f seconds" (- (float-time) nxhtml-load-time-start)))
+  ;(message "Nxml/Nxhtml Autostart.el loaded in %.1f seconds" (- (float-time) nxhtml-load-time-start)))
 
 (defcustom nxhtml-flymake-setup t
   "Let nXhtml add some addtions to flymake.

File nxhtml/etc/schema/schema-path-patch.el

       ;; Test if correct
       (if (string= (buffer-substring-no-properties (point-min) (point-max))
                        loader-string)
-          (message "xhtml-loader.rnc was ok")
-        (message "Patching xhtml-loader.rnc")
+          nil;(message "xhtml-loader.rnc was ok")
+        ;(message "Patching xhtml-loader.rnc")
         (delete-region (point-min) (point-max))
         (insert loader-string))
       (basic-save-buffer)

File nxhtml/util/mumamo.el

 ;; Emacs Bug 3467
 ;; See also Emacs Bug 6203
 (defvar mumamo-has-bug3467
-  (when (or t
+  (when (or nil
             (>= 23 emacs-major-version)
             (time-less-p emacs-build-time (encode-time 0 0 0 15 5 2010)))
     (let ((has-it (mumamo-check-has-bug3467 nil)))