aboutsummaryrefslogtreecommitdiff
path: root/sx-question-mode.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-13 02:12:04 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-13 02:12:16 +0000
commitabc7daf8cf1429df699d27e4d3b240f79d53fcfa (patch)
tree5b7f6cd6b956d1326d0589df36ba03ba297048b0 /sx-question-mode.el
parentdfd74ac0b3671d44451cb128980cdf3b4638eaf0 (diff)
Remove mode-line placeholder code for now
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r--sx-question-mode.el24
1 files changed, 0 insertions, 24 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index fbafc0b..2197338 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -245,16 +245,11 @@ If DIRECTION is negative, move backwards instead."
Letters do not insert themselves; instead, they are commands.
\\<sx-question-mode>
\\{sx-question-mode}"
- (sx-question-mode--update-mode-line)
(remove-hook 'after-change-functions 'markdown-check-change-for-wiki-link t)
(remove-hook 'window-configuration-change-hook
'markdown-fontify-buffer-wiki-links t)
(read-only-mode))
-(defun sx-question-mode--update-mode-line ()
- ""
- )
-
(mapc
(lambda (x) (define-key sx-question-mode-map
(car x) (cadr x)))
@@ -277,24 +272,5 @@ comments, and redisplays it."
sx-question-list--current-site .question_id)
(selected-window))))
-(defconst stack-question-list--mode-line-format
- '(" "
- mode-name
- " "
- (:propertize stack-question-list--current-page
- face mode-line-buffer-id)
- " ["
- "Unread: "
- (:propertize
- (:eval (int-to-string stack-question-list--unread-count))
- face mode-line-buffer-id)
- ", "
- "Total: "
- (:propertize
- (:eval (int-to-string stack-question-list--total-count))
- face mode-line-buffer-id)
- "] ")
- "Mode-line construct to use in question-list buffers.")
-
(provide 'sx-question-mode)
;;; sx-question-mode.el ends here