mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add CODEOWNERS file
This won't be effective until the repo is moved to a github org and these folks are given the needed permissions.
This commit is contained in:
10
.github/CODEOWNERS
vendored
Normal file
10
.github/CODEOWNERS
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# -*- mode: conf -*-
|
||||||
|
# Each line is a file pattern followed by one or more owners.
|
||||||
|
|
||||||
|
# I will be the default owner for everything in the repo unless a later match
|
||||||
|
# takes precedence.
|
||||||
|
* @hlissner
|
||||||
|
|
||||||
|
# Module maintainers
|
||||||
|
modules/app/everywhere/* @hlissner @tecosaur
|
||||||
|
modules/input/layout/* @hlissner @gagbo
|
@ -85,7 +85,8 @@ If no project is active, return all buffers."
|
|||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-dired-buffer-p (buf)
|
(defun doom-dired-buffer-p (buf)
|
||||||
"Returns non-nil if BUF is a dired buffer."
|
"Returns non-nil if BUF is a dired buffer."
|
||||||
(with-current-buffer buf (derived-mode-p 'dired-mode)))
|
(provided-mode-derived-p (buffer-local-value 'major-mode buf)
|
||||||
|
'dired-mode))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-special-buffer-p (buf)
|
(defun doom-special-buffer-p (buf)
|
||||||
@ -162,8 +163,9 @@ If DERIVED-P, test with `derived-mode-p', otherwise use `eq'."
|
|||||||
(let ((modes (doom-enlist modes)))
|
(let ((modes (doom-enlist modes)))
|
||||||
(cl-remove-if-not (if derived-p
|
(cl-remove-if-not (if derived-p
|
||||||
(lambda (buf)
|
(lambda (buf)
|
||||||
(with-current-buffer buf
|
(apply #'provided-mode-derived-p
|
||||||
(apply #'derived-mode-p modes)))
|
(buffer-local-value 'major-mode buf)
|
||||||
|
modes))
|
||||||
(lambda (buf)
|
(lambda (buf)
|
||||||
(memq (buffer-local-value 'major-mode buf) modes)))
|
(memq (buffer-local-value 'major-mode buf) modes)))
|
||||||
(or buffer-list (doom-buffer-list)))))
|
(or buffer-list (doom-buffer-list)))))
|
||||||
|
Reference in New Issue
Block a user