aboutsummaryrefslogtreecommitdiff
path: root/docs/design/debug-profiling.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-11 18:17:22 -0500
committerCraig Jennings <c@cjennings.net>2026-05-11 18:17:22 -0500
commit29d73772476a047e654632ab38910b37bd63af69 (patch)
tree0097f78d0c08bd9b76801d7bedd999fe75156cc3 /docs/design/debug-profiling.org
parented4e34d0c2bac1d89a6266af4b4cd4a33713ba46 (diff)
downloaddotemacs-29d73772476a047e654632ab38910b37bd63af69.tar.gz
dotemacs-29d73772476a047e654632ab38910b37bd63af69.zip
fix(org-capture): single-source the file+headline cache key
`cj/org-capture--goto-file-headline' stored the marker under `(list (expand-file-name (buffer-file-name)) headline)' while the lookup helper `cj/org-capture--file-headline-cache-key' uses `(list (org-capture-expand-file path) headline)'. They agree for plain absolute paths, but a symlinked target (`expand-file-name' doesn't follow symlinks, `find-file' canonicalizes the buffer name) or a capture path that needs `org-capture-expand-file's special handling would make the put-key and get-key diverge, so the cache would silently never hit. Production now goes through the helper too, so the key is built one way.
Diffstat (limited to 'docs/design/debug-profiling.org')
0 files changed, 0 insertions, 0 deletions