diff options
author | Sean Allred <code@seanallred.com> | 2014-11-19 10:56:10 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-19 10:56:16 -0500 |
commit | 5f4f1a0495b79e418b6df16d4642a33c9ccda007 (patch) | |
tree | 37d999bbc09f517acd6f6a3e630d334217af6d93 | |
parent | 4399cbac0625a53c4a8d91e661e13fe11fdb8255 (diff) |
Minor typos and incorrect information
-rw-r--r-- | sx-filter.el | 2 | ||||
-rw-r--r-- | sx-question-list.el | 2 | ||||
-rw-r--r-- | sx-question-mode.el | 2 | ||||
-rw-r--r-- | sx-question.el | 7 | ||||
-rw-r--r-- | sx-request.el | 4 | ||||
-rw-r--r-- | sx.el | 2 |
6 files changed, 7 insertions, 12 deletions
diff --git a/sx-filter.el b/sx-filter.el index 1241614..5c878c5 100644 --- a/sx-filter.el +++ b/sx-filter.el @@ -74,7 +74,7 @@ Returns the compiled filter as a string." If the filter data exist in `sx--filter-alist', that value will be returned. Otherwise, compile INCLUDE, EXCLUDE, and BASE into a filter with `sx-filter-compile' and push the association onto -`sx--filter-alist'. Re-cache the alise with `sx-cache-set' and +`sx--filter-alist'. Re-cache the alist with `sx-cache-set' and return the compiled filter." (or (cdr (assoc (list include exclude base) sx--filter-alist)) (let ((filter (sx-filter-compile include exclude base))) diff --git a/sx-question-list.el b/sx-question-list.el index 6a36f6f..c562679 100644 --- a/sx-question-list.el +++ b/sx-question-list.el @@ -251,7 +251,7 @@ Used in the questions list to indicate a question was updated \"4d ago\"." :group 'sx-question-list) (defun sx-question-list--print-info (question-data) - "Convert `json-read' DATA into tabulated-list format. + "Convert `json-read' QUESTION-DATA into tabulated-list format. See `sx-question-list-refresh'." (sx-assoc-let question-data diff --git a/sx-question-mode.el b/sx-question-mode.el index 627081b..db9cc8b 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -339,7 +339,7 @@ Return the result of BODY." result)) (defmacro sx-question-mode--wrap-in-text-property (properties &rest body) - "Execute BODY and PROPERTIES to any inserted text. + "Execute BODY and add PROPERTIES to any inserted text. Return the result of BODY." (declare (indent 1) diff --git a/sx-question.el b/sx-question.el index d576b73..344b54c 100644 --- a/sx-question.el +++ b/sx-question.el @@ -128,7 +128,6 @@ See `sx-question--user-read-list'." (sx-sorted-insert-skip-first q-cell site-cell (lambda (x y) (> (car x) (car y)))))))) ;; Save the results. - ;; @TODO This causes a small lag on `j' and `k' as the list gets ;; large. Should we do this on a timer? (sx-cache-set 'read-questions sx-question--user-read-list)) @@ -140,11 +139,7 @@ See `sx-question--user-read-list'." Each element has the form - (SITE . QUESTION-LIST). - -And each element in QUESTION-LIST has the form - - (QUESTION_ID . LAST-VIEWED-DATE).") + (SITE QUESTION_ID QUESTION_ID ...)") (defun sx-question--ensure-hidden-list (site) "Ensure the `sx-question--user-hidden-list' has been read from cache. diff --git a/sx-request.el b/sx-request.el index fc54bb3..aff6dc5 100644 --- a/sx-request.el +++ b/sx-request.el @@ -40,8 +40,8 @@ ;; for making the request and `json-read-from-string' for parsing ;; it into a properly symbolic data structure. ;; -;; When at all possible, use ~sx-method-call~. There are specialized -;; cases for the use of ~sx-request-make~ outside of =sx-method.el=, but +;; When at all possible, use `sx-method-call'. There are specialized +;; cases for the use of `sx-request-make' outside of sx-method.el, but ;; these must be well-documented inline with the code. ;;; Code: @@ -155,7 +155,7 @@ present in BODY are letbound, which leads to optimal performance. For instance, the following code - (stack-core-with-data alist + (sx-assoc-let alist (list .title .body)) is equivalent to |