Minor, general refactor & comment updates

This commit is contained in:
Henrik Lissner 2017-12-31 23:18:07 -05:00
parent 2c2030b583
commit eef6ed3d11
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 5 additions and 5 deletions

View file

@ -168,8 +168,8 @@ extension, try to guess one."
;; Auto-close delimiters and blocks as you type ;; Auto-close delimiters and blocks as you type
(def-package! smartparens (def-package! smartparens
:hook (doom-init . smartparens-global-mode)
:config :config
(add-hook 'doom-init-hook #'smartparens-global-mode)
(require 'smartparens-config) (require 'smartparens-config)
(setq sp-autowrap-region nil ; let evil-surround handle this (setq sp-autowrap-region nil ; let evil-surround handle this

View file

@ -704,7 +704,7 @@ compiled packages.'"
if (file-exists-p path) if (file-exists-p path)
collect path collect path
and do (delete-file path) and do (delete-file path)
and do (message "Deleted %s" (file-relative-name path))) and do (message "Deleted %s" (file-relative-name path)))
(message "Everything is clean")))) (message "Everything is clean"))))

View file

@ -388,8 +388,8 @@ the new algorithm is confusing, like in python or ruby."
;; ;;
;; mc doesn't play well with evil, this attempts to assuage some of its problems ;; mc doesn't play well with evil, this attempts to assuage some of its problems
;; so that certain plugins (which I have no control over) can still use it in ;; so that any plugins that depend on multiple-cursors (which I have no control
;; relative safety. ;; over) can still use it in relative safety.
(after! multiple-cursors-core (after! multiple-cursors-core
(map! :map mc/keymap :ne "<escape>" #'mc/keyboard-quit) (map! :map mc/keymap :ne "<escape>" #'mc/keyboard-quit)

View file

@ -29,7 +29,7 @@
"An alist that maps online resources to their search url or a function that "An alist that maps online resources to their search url or a function that
produces an url. Used by `+jump/online'.") produces an url. Used by `+jump/online'.")
(defconst +jump-search-browser-fn #'browse-url (defvar +jump-search-browser-fn #'browse-url
"Function to use to open search urls.") "Function to use to open search urls.")
(defvar +jump-function-alist nil (defvar +jump-function-alist nil