using require

This commit is contained in:
2023-05-16 11:18:38 +02:00
parent 8fdad944f9
commit 98ccb528ea
65 changed files with 5977 additions and 0 deletions

15
lisp/init-xmodmap.el Normal file
View File

@@ -0,0 +1,15 @@
;; *** Xmodmap Mode
;; the shortest mode ever, [[https://www.emacswiki.org/emacs/XModMapMode][via emacswiki]].
(define-generic-mode 'xmodmap-mode
'(?!)
'("add" "clear" "keycode" "keysym" "pointer" "remove")
'(("[0-9]+" . 'font-lock-variable-name-face))
'("[xX]modmap\\(rc\\)?\\'")
nil
"Simple mode for xmodmap files.")
(provide 'init-xmodmap)
;;; init-xmodmap.el ends here