aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhiseck Paira <abhiseckpaira@disroot.org>2022-02-25 21:11:30 +0530
committerAbhiseck Paira <abhiseckpaira@disroot.org>2022-02-25 21:11:30 +0530
commit56fa25df379623e79261b535cd724db3ed979d44 (patch)
tree68d23dbce0e56603ccb22c5efa1b4ecd2170504a
parent523ccea77d0968016973aefe55a92d9ebfd0b451 (diff)
auth: make mastodon-auth-source-file a defvar
The variable `mastodon-auth-source-file' serves no purpose so change it from a defcustom to a defvar. Also update its docstring to document it.
-rw-r--r--lisp/mastodon-auth.el12
1 files changed, 4 insertions, 8 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el
index ba7bebe..f50f5ed 100644
--- a/lisp/mastodon-auth.el
+++ b/lisp/mastodon-auth.el
@@ -55,14 +55,10 @@
:prefix "mastodon-auth-"
:group 'mastodon)
-(defcustom mastodon-auth-source-file ""
- "Filename to use to store user names and passwords.
-
-Leave empty to not permanently store any secrets.
-Otherwise set to e.g. \"~/.authinfo.gpg\" to have encrypted storage, or
-if you are happy with unencryped storage use e.g. \"~/authinfo\"."
- :group 'mastodon-auth
- :type 'string)
+(defvar mastodon-auth-source-file nil
+ "This variable is obsolete.
+This variable currently serves no purpose and will be removed in
+the future.")
(defvar mastodon-auth--token-alist nil
"Alist of User access tokens keyed by instance url.")