diff options
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 380e99b..cc0b2f9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -45,10 +45,6 @@ "Kill the term buffer if the process finished." (kill-buffer (current-buffer))) -(defmacro addf (place value) - "Prepend to PLACE VALUE." - `(setf ,place (cons ,value ,place))) - (defun init-augment-sql-prompt () "Add the MariaDB prompt to the `sql-pomrpt-regexp'." (if (eq sql-product 'mysql) @@ -357,8 +353,8 @@ Also change directories to current working directory." (stante-after fiplr (add-to-list 'fiplr-root-markers ".emacs.desktop") - (addf (cadr (assoc 'files fiplr-ignored-globs)) "*.pyc") - (addf (cadr (assoc 'directories fiplr-ignored-globs)) "migrations")) + (push "*.pyc" (cadr (assoc 'files fiplr-ignored-globs))) + (push "migrations" (cadr (assoc 'directories fiplr-ignored-globs)))) (stante-after flycheck (mapc (lambda (c) (delq c flycheck-checkers)) |