From 3a4af37c6fd4efee44a6189ae93608f671c80f82 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Thu, 30 Oct 2014 22:40:20 -0400 Subject: Implement question list retrieval --- stack-filter.el | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'stack-filter.el') diff --git a/stack-filter.el b/stack-filter.el index e5d49d3..a406054 100644 --- a/stack-filter.el +++ b/stack-filter.el @@ -27,20 +27,13 @@ ;;; Dependencies -(if (boundp 'production) - (require 'stack-core) - (setq load-path (cons "." load-path)) - (load "stack-core.el")) +(require 'stack-core) ;;; Customizations -(defcustom stack-core-filter - (stack-core-compile-filter - nil ;don't include anything extra - '(user.profile_image ;don't include pictures (yet) - shallow_user.profile_image) ; - 'withbody) ;we want the body! +(defcustom stack-filter + 'default "The current filter. To customize the filter for the next call to `stack-core-make-request', let-bind this variable to the output of a call to `stack-core-compile-filter'. Be careful! If @@ -51,7 +44,7 @@ for it. Creation requests count against ;;; Filter compilation -(defun stack-core-compile-filter (&optional include exclude base) +(defun stack-filter-compile (&optional include exclude base) "Compile a StackExchange filter including fields from INCLUDE, excluding those from EXCLUDE, using BASE as a base filter. -- cgit v1.2.3