diff options
author | Tom Willemse | 2013-11-17 11:08:39 +0100 |
---|---|---|
committer | Tom Willemse | 2013-11-17 11:08:39 +0100 |
commit | eea32d761d8dc9d1f99e9be2a657dd8dda9a1b68 (patch) | |
tree | a2a67c38120d6c8cbb48db8c5e3da93f5c05ea8b /.emacs.d | |
parent | 541b4c606f927b0a9506338b05fd52f03b03f3ff (diff) | |
download | emacs-eea32d761d8dc9d1f99e9be2a657dd8dda9a1b68.tar.gz emacs-eea32d761d8dc9d1f99e9be2a657dd8dda9a1b68.zip |
Remove addf macro, push does the same
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)) |