about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/wpc-ui.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-01T09·17+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-01T09·17+0100
commitfb5ec068ddd50f6bce41c7a0bad45673db787940 (patch)
tree19b4ff96983c08f451e7da5f58c95b8f6090ec84 /emacs/.emacs.d/wpc/wpc-ui.el
parenta638e15c0dd14a25e6f032b08de5ee1575677497 (diff)
More Elisp linting
This should cover most of the remaining linting errors. After this, I expect
fewer than ten linting errors.
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-ui.el')
-rw-r--r--emacs/.emacs.d/wpc/wpc-ui.el24
1 files changed, 12 insertions, 12 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-ui.el b/emacs/.emacs.d/wpc/wpc-ui.el
index ca17486616da..31b9c5f7e656 100644
--- a/emacs/.emacs.d/wpc/wpc-ui.el
+++ b/emacs/.emacs.d/wpc/wpc-ui.el
@@ -2,8 +2,8 @@
 
 ;; Author: William Carroll <wpcarro@gmail.com>
 ;; Version: 0.0.1
+;; URL: https://git.wpcarro.dev/wpcarro/briefcase
 ;; Package-Requires: ((emacs "24"))
-;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
 
 ;;; Commentary:
 ;; Hosts font settings, scrolling, color schemes.
@@ -70,7 +70,7 @@
 (tool-bar-mode -1)
 
 ;; set default buffer for Emacs
-(setq initial-buffer-choice constants/current-project)
+(setq initial-buffer-choice constants-current-project)
 
 ;; premium Emacs themes
 (use-package doom-themes
@@ -91,7 +91,7 @@
   :config
   (counsel-mode t)
   (ivy-mode t)
-  (alist/set! #'counsel-M-x "" ivy-initial-inputs-alist)
+  (alist-set! #'counsel-M-x "" ivy-initial-inputs-alist)
   ;; prefer using `helpful' variants
   (progn
     (setq counsel-describe-function-function #'helpful-callable)
@@ -113,7 +113,7 @@
 ;; all-the-icons
 (use-package all-the-icons
   :config
-  (when (not constants/ci?)
+  (when (not constants-ci?)
     (unless (f-exists? "~/.local/share/fonts/all-the-icons.ttf")
       (all-the-icons-install-fonts t))))
 
@@ -129,13 +129,13 @@
 ;; reduce noisiness of auto-revert-mode
 (setq auto-revert-verbose nil)
 
-;; highlight lines that are over `constants/fill-column' characters long
+;; highlight lines that are over `constants-fill-column' characters long
 (use-package whitespace
   :config
   ;; TODO: This should change depending on the language and project. For
   ;; example, Google Java projects prefer 100 character width instead of 80
   ;; character width.
-  (setq whitespace-line-column constants/fill-column)
+  (setq whitespace-line-column constants-fill-column)
   (setq whitespace-style '(face lines-tail))
   (add-hook 'prog-mode-hook #'whitespace-mode))
 
@@ -156,15 +156,15 @@
   :config
   (setq alert-default-style 'notifier))
 
-;; TODO: Should `device/work-laptop?' be a function or a constant that gets set
+;; TODO: Should `device-work-laptop?' be a function or a constant that gets set
 ;; during initialization?
-(when (device/work-laptop?)
-  (laptop-battery/display))
+(when (device-work-laptop?)
+  (laptop-battery-display))
 
-(fonts/whitelist-set "JetBrainsMono")
-(colorscheme/whitelist-set 'doom-solarized-light)
+(fonts-whitelist-set "JetBrainsMono")
+(colorscheme-whitelist-set 'doom-solarized-light)
 
-(modeline/setup)
+(modeline-setup)
 
 (provide 'wpc-ui)
 ;;; wpc-ui.el ends here