added a button to reload current buffer
parent
0a88ecbc99
commit
adc1e5f06c
|
@ -33,6 +33,9 @@
|
|||
(local-set-key (kbd "p") '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 "N") '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))))
|
||||
|
||||
|
||||
(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 ()
|
||||
(interactive)
|
||||
(when (eq bbj-buffer-type 'index)
|
||||
|
|
Loading…
Reference in New Issue