(let (entries)
(dolist (buf (buffer-list))
(with-current-buffer buf
- (when (memq major-mode '(elpher-mode eww-mode))
+ (when (memq major-mode '(elpher-mode eww-mode gemini-mode))
(if arg
(setq entries (nconc (elpher-menu-refresh-history) entries))
(push (elpher-menu-refresh-current) entries)))))
function can only return a list of a single item per buffer."
(list (current-buffer)
(vector
- (cond ((eq major-mode 'elpher-mode) "E")
+ (cond ((eq major-mode 'elpher-mode) "G")
+ ((eq major-mode 'gemini-mode) "E")
((eq major-mode 'eww-mode) "W"))
(cond ((eq major-mode 'elpher-mode)
(or (elpher-address-to-url
(elpher-page-address elpher-current-page))
"none"))
+ ((eq major-mode 'gemini-mode)
+ (or (elpher-address-to-url
+ (elpher-page-address elpher-current-page))
+ "none"))
((eq major-mode 'eww-mode)
(eww-current-url)))
(cond ((eq major-mode 'elpher-mode)
(or (elpher-find-title)
(elpher-page-display-string elpher-current-page)))
+ ((eq major-mode 'gemini-mode)
+ (or (elpher-page-display-string elpher-current-page)
+ (buffer-name)))
((eq major-mode 'eww-mode)
(plist-get eww-data :title))))))