diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/faces.el | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4508a7e22e0..3eeff7298cb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2000-09-20 Miles Bader <miles@lsi.nec.co.jp> | 1 | 2000-09-20 Miles Bader <miles@lsi.nec.co.jp> |
| 2 | 2 | ||
| 3 | * faces.el (face-valid-attribute-values): Make sure directories we | ||
| 4 | search for stipples both exist and are readable before trying to | ||
| 5 | search them. | ||
| 6 | |||
| 3 | * diff-mode.el (diff-apply-hunk): Jump to the correct line offset | 7 | * diff-mode.el (diff-apply-hunk): Jump to the correct line offset |
| 4 | in the dry-run case. | 8 | in the dry-run case. |
| 5 | 9 | ||
diff --git a/lisp/faces.el b/lisp/faces.el index bcb8c6e3871..f290a815669 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -779,8 +779,12 @@ an integer value." | |||
| 779 | (:stipple | 779 | (:stipple |
| 780 | (and (memq window-system '(x w32)) | 780 | (and (memq window-system '(x w32)) |
| 781 | (mapcar #'list | 781 | (mapcar #'list |
| 782 | (apply #'nconc (mapcar #'directory-files | 782 | (apply #'nconc |
| 783 | x-bitmap-file-path))))) | 783 | (mapcar (lambda (dir) |
| 784 | (and (file-readable-p dir) | ||
| 785 | (file-directory-p dir) | ||
| 786 | (directory-files dir))) | ||
| 787 | x-bitmap-file-path))))) | ||
| 784 | (:inherit | 788 | (:inherit |
| 785 | (cons '("none" . nil) | 789 | (cons '("none" . nil) |
| 786 | (mapcar #'(lambda (c) (cons (symbol-name c) c)) | 790 | (mapcar #'(lambda (c) (cons (symbol-name c) c)) |