summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-02-13 14:24:18 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-02-13 14:24:22 -0700
commitf660ee8a08a628635836a4cc376c66f24d24d317 (patch)
tree3b9515f06a79cefa5d00d3439ff8c50001acc20a /bin
parente39435faa5c4941f4f3b6a31ad433725a9c226d2 (diff)
downloaddotfiles-f660ee8a08a628635836a4cc376c66f24d24d317.tar.gz
use *scratch* for text notes too, enabling us to drop *notes*
Diffstat (limited to 'bin')
-rwxr-xr-xbin/locmaint4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/locmaint b/bin/locmaint
index 4a771ac3..c1b06b9c 100755
--- a/bin/locmaint
+++ b/bin/locmaint
@@ -662,7 +662,7 @@ print them.
As a special exception, ignore zero-sized files named '.keep' (which
is used to prevent empty directories getting clobbered by things like
-snap) and 'emacs-notes'.
+snap) and 'scratch'.
=cut
@@ -673,7 +673,7 @@ sub empty_dir_or_list {
my @files
= grep $_ ne '.'
&& $_ ne '..'
- && !(($_ eq ".keep" || $_ eq "emacs-notes") && -z catfile $dir, $_),
+ && !(($_ eq ".keep" || $_ eq "scratch") && -z catfile $dir, $_),
readdir $dirh;
if (@files == 0) {