aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/now.json
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-30 17:34:32 -0400
committerCraig Jennings <c@cjennings.net>2026-06-30 17:34:32 -0400
commitdd8e1576cdfa282efbbc610737b039721841c60c (patch)
treeeb6192c9c4be9f3ef064cf8901445b8429482670 /scripts/theme-studio/now.json
parent6660b0dc2a6e32aa4c4aec910a6a08bf8bb1e807 (diff)
downloaddotemacs-dd8e1576cdfa282efbbc610737b039721841c60c.tar.gz
dotemacs-dd8e1576cdfa282efbbc610737b039721841c60c.zip
fix(prog-shell): only auto-chmod scripts in prog-mode buffers
cj/make-script-executable runs from a global after-save-hook and set +x on any saved file whose first line was a shebang, in every buffer. A downloaded script you were reading, a template, or a shebang in a text or org file silently became executable. I gated it on derived-mode-p prog-mode, so it only acts on actual script buffers. Real scripts (sh-mode, python-mode) still get the fast path.
Diffstat (limited to 'scripts/theme-studio/now.json')
0 files changed, 0 insertions, 0 deletions