From eea32d761d8dc9d1f99e9be2a657dd8dda9a1b68 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 17 Nov 2013 11:08:39 +0100 Subject: Remove addf macro, push does the same --- .emacs.d/init.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '.emacs.d/init.el') 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)) -- cgit v1.2.3-54-g00ecf