diff options
author | Pedro Silva <psilva+git@pedrosilva.pt> | 2013-04-04 12:56:28 +0100 |
---|---|---|
committer | Pedro Silva <psilva+git@pedrosilva.pt> | 2013-04-04 12:56:28 +0100 |
commit | 4a282f39fc81e68d05265e980667a84d064e8a63 (patch) | |
tree | 72d00096a4553d7d79ad77b1b9a48ddbf1d750c3 | |
parent | e7feabd1090d262f1c1adbcbcda96d398a31a5b0 (diff) |
Defined group to enclose user-configurable bits and pieces
-rw-r--r-- | ttrss.el | 30 |
1 files changed, 22 insertions, 8 deletions
@@ -32,14 +32,28 @@ (autoload 'json-read "json") (autoload 'json-encode "json")) -(defvar ttrss-address nil - "Address of the tt-rss server.") - -(defvar ttrss-user nil - "Username to use for authentication to the tt-rss server.") - -(defvar ttrss-password nil - "Password to use for authentication to the tt-rss server.") +(defgroup ttrss nil + "Tiny Tiny RSS elisp bindings" + :group 'external + :group 'communication + :link '(url-link :tag "Tiny Tiny RSS" + "http://tt-rss.org/redmine/projects/tt-rss/wiki")) + +(defcustom ttrss-address "http://localhost" + "Address of the tt-rss server." + :type 'string + :group 'ttrss + :link '(info-link "(url)http/https")) + +(defcustom ttrss-user "" + "Username to use for authentication to the tt-rss server." + :type 'string + :group 'ttrss) + +(defcustom ttrss-password "" + "Password to use for authentication to the tt-rss server." + :type 'string + :group 'ttrss) (defvar ttrss-session-id nil "Current session id, if any, set after successful login.") |