about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-31T13·19+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-31T13·23+0100
commit657efa85f4b26b6bd5b6d96dd0a5c354c38be9a4 (patch)
treed708e63576207d9d1dec2f37bf8a3868fb2c311f /emacs
parent6267c782a08c404ba990a1265111d5cdd92454ff (diff)
Lint wpc-lisp.el
- Add Version, URL, Package-Requires, Commentary sections
- Prefer `wpc-lisp-` prefix to `wpc/`
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/wpc/wpc-lisp.el17
1 files changed, 11 insertions, 6 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-lisp.el b/emacs/.emacs.d/wpc/wpc-lisp.el
index 1eeb8550a205..f4f8c6931582 100644
--- a/emacs/.emacs.d/wpc/wpc-lisp.el
+++ b/emacs/.emacs.d/wpc/wpc-lisp.el
@@ -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>
+;; Version: 0.0.1
+;; URL: https://git.wpcarro.dev/wpcarro/briefcase
+;; Package-Requires: ((emacs "24"))
 
+;;; Commentary:
 ;; parent (up)
 ;; child (down)
 ;; prev-sibling (left)
@@ -20,7 +25,7 @@
 ;; Configuration
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
-(defconst wpc/lisp-mode-hooks
+(defconst wpc-lisp--hooks
   '(lisp-mode-hook
     emacs-lisp-mode-hook
     clojure-mode-hook
@@ -41,7 +46,7 @@
 
 (use-package rainbow-delimiters
   :config
-  (general-add-hook wpc/lisp-mode-hooks #'rainbow-delimiters-mode))
+  (general-add-hook wpc-lisp--hooks #'rainbow-delimiters-mode))
 
 (use-package racket-mode
   :config
@@ -56,7 +61,7 @@
 
 (use-package lispyville
   :init
-  (defconst lispyville-key-themes
+  (defconst wpc-lisp--lispyville-key-themes
     '(c-w
       operators
       text-objects
@@ -70,8 +75,8 @@
       escape)
     "All available key-themes in Lispyville.")
   :config
-  (general-add-hook wpc/lisp-mode-hooks #'lispyville-mode)
-  (lispyville-set-key-theme lispyville-key-themes)
+  (general-add-hook wpc-lisp--hooks #'lispyville-mode)
+  (lispyville-set-key-theme wpc-lisp--lispyville-key-themes)
   (progn
     (general-define-key
      :keymaps 'lispyville-mode-map