From 5a927d1a4e92750bc0d48994df2c2e552d669b01 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:42:22 -0300 Subject: exec, look: pointerOperand, isFile and langOf, one-line wrappers with one caller or four, go to their callers (pardes.zig's recentKeeps asks kindOf), as do the unused themes, BOX_H and pathUnder and look's second alias of fs.zig; missedLine and lookPdfPage take their one type, not anytype; isRecentList drops a .cmd = .Recent origin nothing makes; executeFrom's doc moves off isComment, and a comment look.zig said twice is said once Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/pardes.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index ba373726..aa458198 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -4466,7 +4466,7 @@ pub const Pardes = struct { pub fn recentKeeps(path: []const u8) bool { const local = filesystem.localPath(path) orelse return false; if (comptime !hosted) return true; - return exec.isFile(local); + return exec.kindOf(local) == .file; } /// A file, PDF or image pane closing: its place noted in Recent, when -- cgit v1.3