Mercurial > emacs
view lisp/toolbar/mail_send.xpm @ 53323:a053c8c470f3
Handle non-readable directories.
(ido-decorations): Add 9th element for non-readable directory.
(ido-directory-nonreadable): New dynamic var.
(ido-set-current-directory): Set it.
(ido-read-buffer, ido-file-internal):
(ido-read-file-name, ido-read-directory-name): Let-bind it.
(ido-file-name-all-completions1): Return empty list for
non-readable directory.
(ido-exhibit): Print [Not readable] if directory is not readable.
(ido-expand-directory): New defun (based on tiny fix from Karl Chen).
(ido-read-file-name, ido-file-internal, ido-read-directory-name):
Use it.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 27 Dec 2003 21:56:51 +0000 |
parents | 8f4a34146a9d |
children |
line wrap: on
line source
/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "24 24 9 1", " c Gray0", ". c #675e6580613e", "X c #8c8c7c7c6969", "o c #9b458d377822", "O c #a941a6459f3e", "+ c #c8c8b2b29898", "@ c #dadac2c2a5a5", "# c #eb4dea2fe4ad", "$ c None", /* pixels */ "$$$$$$$$$$$$$$$$$$$$$$$$", "$$$$$$$$$$$$$$$$$$$$$$$$", "$$$$$$$$$$$$$ $$$$$$$", "$$$$$$$$ .@#+ $$$$$$", "$$$ .+#####@O $$$$$$", "$$ .+##########.+O $$$$$", "$$ @..########O.+# $$$$$", "$$ O@O..@#####.+## $$$$$", "$$$ ###+O.O##...##O $$$$", "$$$ @####@+..O#O.+# $$$$", "$$$ O####.#######.O $$$$", "$$$$ ###+O########.O $$$", "$$$$ ###.########@O $$$", "$$$$ +#+O#####@O $$$$$", "$$$$$ #.###@O $$$$$$", "$$$$$ .O@O $$ .. $$$$$", "$$$$$ .. $$$$ .oo. $$$$", "$$$$$$ $$$$$ oo $$$", "$$$$$$$$$$$$$$$ Oo $$$$$", "$$$$$$$$$$$$$$ oOOX $$$$", "$$$$$$$$$$$$$$ ++++ $$$$", "$$$$$$$$$$$$$ O@@@@O $$$", "$$$$$$$$$$$$$ $$$", "$$$$$$$$$$$$$$$$$$$$$$$$" };