diff options
author | Sean Allred <code@seanallred.com> | 2014-12-15 16:33:29 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-12-15 16:33:29 -0500 |
commit | 3e332ab028d1b15b1a255411206368e53b372ff9 (patch) | |
tree | 67d12328b8f93d1147872f89af9645979d4ee425 /sx-interaction.el | |
parent | 203402f10a7bce27b30d19aa71b96dad9a0e6b3c (diff) | |
parent | 0a2f984d0771b9a921696af1fe3bad10cdbb7b54 (diff) |
Merge pull request #158 from vermiculus/fix-some-warnings
Fix some warnings
Diffstat (limited to 'sx-interaction.el')
-rw-r--r-- | sx-interaction.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-interaction.el b/sx-interaction.el index 38520a7..7d32094 100644 --- a/sx-interaction.el +++ b/sx-interaction.el @@ -85,7 +85,7 @@ If it's not a question, or if it is read, return DATA." ;; If we found a question, we may need to check if it's read. (if (and (assoc 'title data) (null (sx-question--read-p data))) - (user-error "Question not yet read. View it before acting on it") + (sx-user-error "Question not yet read. View it before acting on it") data)) (defun sx--maybe-update-display (&optional buffer) @@ -286,7 +286,7 @@ from context at point." ;; If we ever make an "Edit" button, first arg is a marker. (when (markerp data) (setq data (sx--data-here))) (sx-assoc-let data - (when .comment_id (user-error "Editing comments is not supported yet")) + (when .comment_id (sx-user-error "Editing comments is not supported yet")) (let ((buffer (current-buffer))) (pop-to-buffer (sx-compose-create |