33 lines
836 B
EmacsLisp
33 lines
836 B
EmacsLisp
;;; module-demo.el --- for collaboration and demonstrations
|
|
|
|
;; This library offers:
|
|
;; + impatient-mode: for broadcasting my emacs session
|
|
;; + big-mode: for enlarged text while screencasting
|
|
;; + integration with reveal.js for presentations
|
|
|
|
;; Big-mode settings
|
|
(defconst big-mode-font (font-spec :family "Inconsolata" :size 16))
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
(use-package impatient-mode
|
|
:defer t
|
|
:commands httpd-start)
|
|
|
|
(use-package puml-mode
|
|
:mode "\\.p\\(lant\\)?uml$"
|
|
:init
|
|
(setq puml-plantuml-jar-path "/usr/local/Cellar/plantuml/8029/plantuml.8029.jar"))
|
|
|
|
;;;
|
|
|
|
(defvar big-mode-font narf-default-font)
|
|
|
|
(define-minor-mode big-mode
|
|
:init-value nil
|
|
:lighter " BIG"
|
|
:global t
|
|
(narf/load-font (if big-mode big-mode-font narf-default-font)))
|
|
|
|
(provide 'module-demo)
|
|
;;; module-demo.el ends here
|