added a button to reload current buffer

pull/4/head
Blake DeMarcy 2017-03-03 20:26:42 -06:00
parent 0a88ecbc99
commit adc1e5f06c
1 changed files with 11 additions and 0 deletions

View File

@ -33,6 +33,9 @@
(local-set-key (kbd "p") 'bbj-prev-post) (local-set-key (kbd "p") 'bbj-prev-post)
(local-set-key (kbd "<up>") 'bbj-prev-post) (local-set-key (kbd "<up>") 'bbj-prev-post)
(local-set-key (kbd "g") 'bbj-refresh)
(local-set-key (kbd "<f5>") 'bbj-refresh)
(local-set-key (kbd "J") 'scroll-up-line) (local-set-key (kbd "J") 'scroll-up-line)
(local-set-key (kbd "N") 'scroll-up-line) (local-set-key (kbd "N") 'scroll-up-line)
(local-set-key (kbd "S-SPC") 'scroll-up-line) (local-set-key (kbd "S-SPC") 'scroll-up-line)
@ -447,6 +450,14 @@ maimed until it worked on emacs 24."
'type 'end)))) 'type 'end))))
(defun bbj-refresh ()
"i need to add post seeker to make this less jarring..."
(interactive)
(case bbj-buffer-type
(index (bbj-browse-index))
(thread (bbj-enter-thread thread-id))))
(defun bbj-edit-post () (defun bbj-edit-post ()
(interactive) (interactive)
(when (eq bbj-buffer-type 'index) (when (eq bbj-buffer-type 'index)