diff --git a/index.html b/index.html index db1fbda9..ac3d8a93 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +(use-package el-get) ++
(use-package winner :after hydra :demand t @@ -2841,8 +2854,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
(use-package eyebrowse @@ -2853,9 +2866,23 @@ proced is an top like utility that runs inside of emacs. The following sets auto
(el-get-bundle tiling + :url "https://raw.githubusercontent.com/lgfang/elisp/master/tiling.el") + +(use-package tiling + :ensure nil) ++
This interferes with too many other packages. See
https://github.com/alpaker/Fill-Column-Indicator/issues/21 for more details
@@ -3487,6 +3514,7 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
:demand t
:diminish smartparens-mode
:bind (:map smartparens-mode-map
+ ("H-z" . sp-kill-symbol)
("C-)" . sp-forward-slurp-sexp)
("C-}" . sp-forward-barf-sexp)
("C-(" . sp-backward-slurp-sexp)
@@ -4320,9 +4348,44 @@ Taken from
-
+What follows is a function that checks to see if what precedes point is a defvar
+and reevaluates it as a setq if it is
+
+Now we add advice to eval-last-sexp so that it has this behavior.
+12.1.3.10 Init hook
+12.1.3.10 Reevalute defvars when running eval-last-sexp
(defun imalison:defvar-at-point ()
+ (let* ((preceding-sexp (elisp--preceding-sexp)))
+ (when (and (listp preceding-sexp) (equal (car preceding-sexp) 'defvar))
+ preceding-sexp)))
+
+(defun imalison:maybe-eval-defvar-as-setq ()
+ (interactive)
+ (let ((the-defvar (imalison:defvar-at-point)))
+ (when the-defvar
+ (eval `(setq ,@(cdr the-defvar))))))
+
+(defun imalison:maybe-setq-instead (fn &rest args)
+ (or (imalison:maybe-eval-defvar-as-setq)
+ (apply fn args)))
+
+(advice-add 'eval-last-sexp :around 'imalison:maybe-setq-instead)
+
+12.1.3.11 Init hook
+(defvar imalison:check-parens nil)
@@ -4341,8 +4404,8 @@ Taken from
-
12.1.3.11 Keybinds
-12.1.3.12 Keybinds
+(emit-compose imalison:copy-eval-last-sexp
@@ -7171,7 +7234,7 @@ load-theme hook (See the heading below).