* Q: file-directory-p
@ 2024-03-17 18:00 T.V Raman
2024-03-17 18:28 ` Andreas Schwab
0 siblings, 1 reply; 3+ messages in thread
From: T.V Raman @ 2024-03-17 18:00 UTC (permalink / raw)
To: emacs-devel
If I evaluate
(cl-remove-if-not #'file-directory-p (directory-files
"~/sourceforge/gnu-emacs/lisp"))
where sourceforge/gnu-emacs is my Emacs sourcetree, I expected to get
the subdirs of lisp; instead I get:
("." "..")
What am I doing wrong?
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Q: file-directory-p
2024-03-17 18:00 Q: file-directory-p T.V Raman
@ 2024-03-17 18:28 ` Andreas Schwab
2024-03-17 21:04 ` T.V Raman
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2024-03-17 18:28 UTC (permalink / raw)
To: T.V Raman; +Cc: emacs-devel
(cl-remove-if-not #'file-directory-p (directory-files "~/sourceforge/gnu-emacs/lisp" t))
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Q: file-directory-p
2024-03-17 18:28 ` Andreas Schwab
@ 2024-03-17 21:04 ` T.V Raman
0 siblings, 0 replies; 3+ messages in thread
From: T.V Raman @ 2024-03-17 21:04 UTC (permalink / raw)
To: Andreas Schwab; +Cc: emacs-devel
thanks, I knew I was doing something obviously wrong -- thanks for the response
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-17 21:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-17 18:00 Q: file-directory-p T.V Raman
2024-03-17 18:28 ` Andreas Schwab
2024-03-17 21:04 ` T.V Raman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.