General update for docstrings and comments & minor refactor

This commit is contained in:
Henrik Lissner 2018-01-15 00:43:17 -05:00
parent 6790d666e0
commit 45c2221316
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 12 additions and 14 deletions

View file

@ -21,7 +21,7 @@
(autoload 'goto-last-change-reverse "goto-chg")
(def-package! evil
:init
:config
(setq evil-want-C-u-scroll t
evil-want-visual-char-semi-exclusive t
evil-want-Y-yank-to-eol t
@ -39,7 +39,6 @@
;; don't activate mark on shift-click
shift-select-mode nil)
:config
(add-hook 'doom-init-hook #'evil-mode)
(evil-select-search-module 'evil-search-module 'evil-search)

View file

@ -1,7 +1,7 @@
;;; feature/syntax-checker/config.el -*- lexical-binding: t; -*-
;; pkg-info doesn't get autoloaded when `flycheck-version' needs it, so we do
;; it ourselves:
;; Since Doom doesn't use `package-initialize', pkg-info won't get autoloaded
;; when `flycheck-version' needs it, so we need this:
(autoload 'pkg-info-version-info "pkg-info")
(def-package! flycheck

View file

@ -52,7 +52,7 @@
;;;###autoload
(defun +workspace-get (name &optional noerror)
"Returns a workspace (perspective hash table) named NAME."
"Returns a workspace (perspective struct) named NAME."
(when-let* ((persp (persp-get-by-name name)))
(cond ((+workspace-p persp) persp)
((not noerror) (error "'%s' is an invalid workspace" name)))))