Skip to content

Commit

Permalink
remove docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrak committed Nov 7, 2024
1 parent c82f647 commit 17cd073
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/fileio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@ fn car_less_than_car(a: &Cons, b: &Cons) -> Result<bool> {
}

#[defun]
/* Return t if FILENAME names a directory you can open.
This means that FILENAME must specify the name of a directory, and the
directory must allow you to open files in it. If this isn't the case,
return nil.
FILENAME can either be a directory name (eg. \"/tmp/foo/\") or the
file name of a file which is a directory (eg. \"/tmp/foo\", without
the final slash).
In order to use a directory as a buffer's current directory, this
predicate must return true. */
fn file_accessible_directory_p(filename: &str) -> bool {
let path = Path::new(filename);
path.exists() && path.is_dir()
Expand Down

0 comments on commit 17cd073

Please sign in to comment.