mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
There are a few major modes which are not based on prog-mode, that I want to behave like prog-mode. Previously each did nearly all the same setup that's done via the prog-mode hooks. Now instead let's actually run runs the hooks for prog-mode.
24 lines
492 B
EmacsLisp
24 lines
492 B
EmacsLisp
;;; siren-zone.el --- jimeh's Emacs Siren: zone configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for zone.
|
|
|
|
;;; Code:
|
|
|
|
(use-package zone
|
|
:ensure nil ;; loaded from emacs built-ins
|
|
:init
|
|
(defun zone-choose (pgm)
|
|
"Choose a PGM to run for `zone'."
|
|
(interactive
|
|
(list
|
|
(completing-read
|
|
"Program: "
|
|
(mapcar 'symbol-name zone-programs))))
|
|
(let ((zone-programs (list (intern pgm))))
|
|
(zone))))
|
|
|
|
(provide 'siren-zone)
|
|
;;; siren-zone.el ends here
|