From e7a429685270651857ad45e2f016ac3bd1096f8c Mon Sep 17 00:00:00 2001 From: rubikitch Date: Mon, 25 Feb 2013 10:55:39 +0900 Subject: [PATCH] * anything-config.el (anything-c-arrange-type-attribute): Bugfix: do not override attrs in sources Remove anything-compile-source--type from anything-compile-source-functions Just append customized type attrs --- anything-config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/anything-config.el b/anything-config.el index 25717b2..5d5ed71 100644 --- a/anything-config.el +++ b/anything-config.el @@ -11571,8 +11571,10 @@ with original attribute value. (defun anything-compile-source--type-customize (source) (anything-aif (assoc-default (assoc-default 'type source) anything-additional-type-attributes) - (append it source) + (append source it) source)) +(setq anything-compile-source-functions + (delete 'anything-compile-source--type anything-compile-source-functions)) (add-to-list 'anything-compile-source-functions 'anything-compile-source--type-customize t) -- 2.11.4.GIT