Rename extra modules with extra- prefix
This commit is contained in:
parent
d506d8690e
commit
bc02143e96
3 changed files with 10 additions and 10 deletions
30
modules/extra-demo.el
Normal file
30
modules/extra-demo.el
Normal file
|
@ -0,0 +1,30 @@
|
|||
;;; extra-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 "Hack" :size 16))
|
||||
(defconst big-mode-line-spacing 0)
|
||||
(defconst big-mode-modeline-height 26)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(use-package impatient-mode
|
||||
:defer t
|
||||
:commands httpd-start)
|
||||
|
||||
(defvar big-mode--line-spacing line-spacing)
|
||||
(defvar big-mode--powerline-height powerline-height)
|
||||
(define-minor-mode big-mode
|
||||
:init-value nil
|
||||
:lighter " BIG"
|
||||
:global t
|
||||
(setq-default powerline-height (if big-mode big-mode-modeline-height big-mode--powerline-height))
|
||||
(narf/load-font (if big-mode big-mode-font narf-default-font))
|
||||
(setq-default line-spacing (if big-mode big-mode-line-spacing big-mode--line-spacing)))
|
||||
|
||||
(provide 'extra-demo)
|
||||
;;; extra-demo.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue