dotfiles

A steaming hot pile of sh...ell scripts and configuration files.
git clone https://kaka.farm/~git/dotfiles
Log | Files | Refs

commit a3c0b8cc0bfbdd41b8e1861b070f5d9fad754087
parent def161b8d6b9b819cd9f66e54e95669cb5d3e05e
Author: Yuval Langer <yuval.langer@gmail.com>
Date:   Sat, 12 Oct 2024 17:35:26 +0300

Add skribilo-mode autoload.  Use the rx macro instead of string literals for regular expressions.

Diffstat:
Mconfig/emacs/init.el | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/config/emacs/init.el b/config/emacs/init.el @@ -21,6 +21,8 @@ (setq package-archives '()) (require 'use-package) +(autoload 'skribilo-mode "skribilo.el" "Skribilo mode." t) + (use-package browse-url :demand t :custom @@ -322,7 +324,7 @@ (use-package nov :defer t - :mode ("\\.epub\\'" . nov-mode)) + :mode ((rx ".epub" string-end) . nov-mode)) '(use-package opml-to-elfeed-feeds :custom @@ -427,7 +429,7 @@ (progn ;; For SRFI-253: (put 'define-checked 'scheme-indent-function 1) (put 'lambda-checked 'scheme-indent-function 1)) - :mode "\\.\\(scm\\|sxml\\)\\'" + :mode (rx "." (| "scm" "sxml" "skb") string-end) ;; :bind (:map scheme-mode-map ;; ("C-c C-e" . arei-mode-map) ;; ("C-c C-a" . arei))