;;; evennia-mode --- Syntax coloring for Evennia code -*- lexical-binding: t; -*- ;; ;; © 2025 Howard X. Abrams ;; Licensed under a Creative Commons Attribution 4.0 International License. ;; See http://creativecommons.org/licenses/by/4.0/ ;; ;; Author: Howard X. Abrams ;; Maintainer: Howard X. Abrams ;; Created: January 18, 2025 ;; ;; While obvious, GNU Emacs does not include this file or project. ;; ;; *NB:* Do not edit this file. Instead, edit the original literate file at: ;; /Users/howard/src/hamacs/pud.org ;; And tangle the file to recreate this one. ;; ;;; Code: (define-derived-mode evennia-mode ruby-mode "Evennia" "Major mode for editing evennia batch command files. \\{evennia-mode-map} Turning on Evennia mode runs the normal hook `evennia-mode-hook'." (setq-local require-final-newline mode-require-final-newline) (setq-local comment-start "# ") (setq-local comment-start-skip "#+\\s-*")) ;; Add the mode to the auto-mode-alist for specific file extensions (add-to-list 'auto-mode-alist '("\\.ev\\'" . evennia-mode)) ;; Provide the mode for use (provide 'evennia-mode)