Remove unused project-root in doom--cycle-real-buffers
This commit is contained in:
parent
bee9259096
commit
71c0c96b60
1 changed files with 1 additions and 2 deletions
|
@ -112,8 +112,7 @@ If DERIVED-P, test with `derived-mode-p', otherwise use `eq'."
|
|||
"Switch to the next buffer N times (previous, if N < 0), skipping over unreal
|
||||
buffers. If there's nothing left, switch to `doom-fallback-buffer'. See
|
||||
`doom-real-buffer-p' for what 'real' means."
|
||||
(let ((buffers (delq (current-buffer) (doom-real-buffer-list)))
|
||||
(project-dir (doom-project-root)))
|
||||
(let ((buffers (delq (current-buffer) (doom-real-buffer-list))))
|
||||
(cond ((or (not buffers)
|
||||
(zerop (% n (1+ (length buffers)))))
|
||||
(switch-to-buffer (doom-fallback-buffer) nil t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue