mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(bs-apply-sort-faces): Don't use window-system, since all
types of display support faces now.
This commit is contained in:
parent
e49aa397e8
commit
6968a481f5
@ -1,3 +1,8 @@
|
||||
2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* bs.el (bs-apply-sort-faces): Don't use window-system, since all
|
||||
types of display support faces now.
|
||||
|
||||
2000-08-05 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* pcvs.el (require): Require `cl' during compilation, only.
|
||||
|
17
lisp/bs.el
17
lisp/bs.el
@ -963,15 +963,14 @@ Default is `bs--current-sort-function'."
|
||||
bs--current-sort-function)))
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
(if (and window-system
|
||||
(nth 2 sort-description)
|
||||
(search-forward-regexp (nth 2 sort-description) nil t))
|
||||
(let ((inhibit-read-only t))
|
||||
(put-text-property (match-beginning 0)
|
||||
(match-end 0)
|
||||
'face
|
||||
(or (nth 3 sort-description)
|
||||
'region)))))))
|
||||
(if (and (nth 2 sort-description)
|
||||
(search-forward-regexp (nth 2 sort-description) nil t))
|
||||
(let ((inhibit-read-only t))
|
||||
(put-text-property (match-beginning 0)
|
||||
(match-end 0)
|
||||
'face
|
||||
(or (nth 3 sort-description)
|
||||
'region)))))))
|
||||
|
||||
(defun bs-toggle-show-all ()
|
||||
"Toggle show all buffers / show buffers with current configuration."
|
||||
|
Loading…
Reference in New Issue
Block a user