branch: elpa/fedi
commit ed249faebcf6ce5c8259de53172041b51ba88557
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    comments
---
 fedi-post.el | 1 +
 fedi.el      | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/fedi-post.el b/fedi-post.el
index 92dcb826ed..016d84cb65 100644
--- a/fedi-post.el
+++ b/fedi-post.el
@@ -583,6 +583,7 @@ Added to `after-change-functions'."
     ;; TODO: generalize:
     ;; (let ((new-or-edit '("new" . "edit"))
     ;; (types '("post" "issue" "comment")))
+    ;; use regex-opt
     (or (equal "*new post*" buf)
         (equal "*edit post*" buf)
         (equal "*new issue*" buf)
diff --git a/fedi.el b/fedi.el
index 95ca41106b..6c4bcd78c4 100644
--- a/fedi.el
+++ b/fedi.el
@@ -233,6 +233,8 @@ than `switch-to-buffer'."
          ;; (switch-to-buffer ,buffer))
          (pop-to-buffer ,buffer '(display-buffer-same-window)))
        ,@body
+       ;; FIXME: this breaks the poss of nav to first item
+       ;; we have to do another `with-current-buffer' for it to work
        (goto-char (point-min)))))
 
 ;;; NAV

Reply via email to