Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
emacs_version: [26.3, 27.2, 28.2, 29.1]
python-version: [3.7]
emacs_version: [27.2, 28.2, 29.1]
python-version: [3.8]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -34,13 +34,13 @@ jobs:
with:
version: ${{ matrix.emacs_version }}

- uses: actions/cache@v2
- uses: actions/cache@v4
id: cache-cask-packages
with:
path: .cask
key: cache-cask-packages-001

- uses: actions/cache@v2
- uses: actions/cache@v4
id: cache-cask-executable
with:
path: ~/.cask
Expand Down
6 changes: 3 additions & 3 deletions lisp/poly-ein.el
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,13 @@ TYPE can be \\='body, nil."
(apply-partially #'poly-ein--narrow-to-inner #'identity))))

(defun poly-ein--record-window-buffer ()
"(pm--visible-buffer-name) needs to get onto window's prev-buffers.
"(pm--buffer-name) needs to get onto window's prev-buffers.
But `C-x b` seems to consult `buffer-list' and not the C (window)->prev_buffers."
(when (buffer-base-buffer)
(let* ((buffer-list (frame-parameter nil 'buffer-list))
(pos-visible (seq-position
buffer-list
(pm--visible-buffer-name)
(pm--buffer-name)
(lambda (x visible*)
(string-prefix-p (buffer-name x) visible*)))))
;; no way to know if i've switched in or out of indirect buf.
Expand All @@ -382,7 +382,7 @@ But `C-x b` seems to consult `buffer-list' and not the C (window)->prev_buffers.
(add-hook 'ido-make-buffer-list-hook
(lambda ()
(defvar ido-temp-list)
(when-let ((visible (pm--visible-buffer-name)))
(when-let ((visible (pm--buffer-name)))
(ido-to-end (delq nil
(mapcar (lambda (x)
(when (string-prefix-p x visible) x))
Expand Down