diff options
author | Sean Allred <code@seanallred.com> | 2014-12-12 13:31:01 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-12-12 13:31:01 -0500 |
commit | 38dd04a41a1a77a1d57ac9193420fe13fc2220bc (patch) | |
tree | 6bfb644071c53a4ee5e502665ba11a169edd535c /sx-auth.el | |
parent | e80ed6b6e717fc071ba28519caf4bbb6ac30d8a7 (diff) | |
parent | 79c03c20d14ddfe546c9f612bd9c8b1b1cb00b2c (diff) |
Merge pull request #147 from vermiculus/autoload-auth
Autoload sx-authenticate
Diffstat (limited to 'sx-auth.el')
-rw-r--r-- | sx-auth.el | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -80,7 +80,8 @@ will be (METHOD . t)") Keywords are of form (OBJECT TYPES) where TYPES is (FILTER FILTER FILTER).") -(defun sx-auth-authenticate () +;;;###autoload +(defun sx-authenticate () "Authenticate this application. Authentication is required to read your personal data (such as notifications) and to write with the API (asking and answering @@ -126,8 +127,6 @@ parsed and displayed prominently on the page)." (error "You must enter this code to use this client fully")) (sx-cache-set 'auth `((access_token . ,sx-auth-access-token))))) -(defalias 'sx-authenticate #'sx-auth-authenticate) - (defun sx-auth--method-p (method &optional submethod) "Check if METHOD is one that may require authentication. If it has `auth-required' SUBMETHODs, or no submethod, return t." |