diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-07 17:20:57 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-07 17:20:57 -0200 |
commit | 1509d09a5ed073688a316660b5e3a2222dbebfca (patch) | |
tree | 38847a82093bc4181cba48152a6d085e797bbeed | |
parent | ff92c3cf289b9109ad4b3b304bad06a40534fda2 (diff) |
Fix outdated references
-rw-r--r-- | sx-interaction.el | 2 | ||||
-rw-r--r-- | sx-question-print.el | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sx-interaction.el b/sx-interaction.el index 4d71c17..e444248 100644 --- a/sx-interaction.el +++ b/sx-interaction.el @@ -272,7 +272,7 @@ TEXT is a string. Interactively, it is read from the minibufer." (setq text (read-string "Comment text: " (when .comment_id - (concat (sx--user-@name .owner) " ")))) + (concat (sx-user--format "%@" .owner) " ")))) (while (not (sx--comment-valid-p text 'silent)) (setq text (read-string "Comment text (between 16 and 600 characters): " text)))) ;; If non-interactive, `text' could be anything. diff --git a/sx-question-print.el b/sx-question-print.el index 66ae922..37fa238 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -65,7 +65,7 @@ Some faces of this mode might be defined in the `sx-user' group." (defcustom sx-question-mode-header-author-format "\nAuthor: %d %r" "String used to display the question author at the header. -% constructs have special meaning here. See `sx--user-format'." +% constructs have special meaning here. See `sx-user--format'." :type 'string :group 'sx-question-mode) @@ -193,7 +193,7 @@ DATA can represent a question or an answer." '(sx-question-mode--section-content t) ;; Author (insert - (sx--user-format + (sx-user--format (propertize sx-question-mode-header-author-format 'face 'sx-question-mode-header) .owner)) @@ -205,7 +205,7 @@ DATA can represent a question or an answer." (when .last_edit_date (format sx-question-mode-last-edit-format (sx-time-since .last_edit_date) - (sx--user-format "%d" .last_editor)))) + (sx-user--format "%d" .last_editor)))) 'sx-question-mode-date) (sx-question-mode--insert-header sx-question-mode-header-score @@ -274,7 +274,7 @@ The comment is indented, filled, and then printed according to " ")) (insert (format sx-question-mode-comments-format - (sx--user-format "%d" .owner) + (sx-user--format "%d" .owner) (substring ;; We fill with three spaces at the start, so the comment is ;; slightly indented. |