+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.
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."