conf-skewer.el 530 B

1234567891011121314151617181920212223242526
  1. ;(require 'simple-httpd)
  2. (require 'skewer-mode)
  3. (require 'skewer-repl)
  4. (require 'skewer-html)
  5. (require 'skewer-css)
  6. (defun skewer-start ()
  7. (interactive)
  8. (let ((httpd-port 8023))
  9. (httpd-start)
  10. (message "Ready to skewer the browser. Now jack in with the bookmarklet.")))
  11. (defun skewer-demo ()
  12. (interactive)
  13. (let ((httpd-port 8024))
  14. (run-skewer)
  15. (skewer-repl)))
  16. (require 'mouse-slider-mode)
  17. (add-to-list 'mouse-slider-mode-eval-funcs
  18. '(js2-mode . skewer-eval-defun))
  19. (provide 'conf-skewer)