Lint wpc-lisp.el

- Add Version, URL, Package-Requires, Commentary sections
- Prefer `wpc-lisp-` prefix to `wpc/`
This commit is contained in:
William Carroll 2020-08-31 14:19:48 +01:00
parent 6267c782a0
commit 657efa85f4

View file

@ -1,6 +1,11 @@
;;; lisp.el --- Generic LISP preferences -*- lexical-binding: t -*- ;;; wpc-lisp.el --- Generic LISP preferences -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com>
;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1
;; URL: https://git.wpcarro.dev/wpcarro/briefcase
;; Package-Requires: ((emacs "24"))
;;; Commentary:
;; parent (up) ;; parent (up)
;; child (down) ;; child (down)
;; prev-sibling (left) ;; prev-sibling (left)
@ -20,7 +25,7 @@
;; Configuration ;; Configuration
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defconst wpc/lisp-mode-hooks (defconst wpc-lisp--hooks
'(lisp-mode-hook '(lisp-mode-hook
emacs-lisp-mode-hook emacs-lisp-mode-hook
clojure-mode-hook clojure-mode-hook
@ -41,7 +46,7 @@
(use-package rainbow-delimiters (use-package rainbow-delimiters
:config :config
(general-add-hook wpc/lisp-mode-hooks #'rainbow-delimiters-mode)) (general-add-hook wpc-lisp--hooks #'rainbow-delimiters-mode))
(use-package racket-mode (use-package racket-mode
:config :config
@ -56,7 +61,7 @@
(use-package lispyville (use-package lispyville
:init :init
(defconst lispyville-key-themes (defconst wpc-lisp--lispyville-key-themes
'(c-w '(c-w
operators operators
text-objects text-objects
@ -70,8 +75,8 @@
escape) escape)
"All available key-themes in Lispyville.") "All available key-themes in Lispyville.")
:config :config
(general-add-hook wpc/lisp-mode-hooks #'lispyville-mode) (general-add-hook wpc-lisp--hooks #'lispyville-mode)
(lispyville-set-key-theme lispyville-key-themes) (lispyville-set-key-theme wpc-lisp--lispyville-key-themes)
(progn (progn
(general-define-key (general-define-key
:keymaps 'lispyville-mode-map :keymaps 'lispyville-mode-map