Skip to content

Fix tc-util.el overwriting the function in tc-mazegaki.el#37

Merged
naota merged 1 commit into
kanchoku:masterfrom
tooro88:fix-dummy-spc-in-util
Dec 2, 2025
Merged

Fix tc-util.el overwriting the function in tc-mazegaki.el#37
naota merged 1 commit into
kanchoku:masterfrom
tooro88:fix-dummy-spc-in-util

Conversation

@tooro88
Copy link
Copy Markdown

@tooro88 tooro88 commented Nov 29, 2025

#36 の修正です。この修正があるか無いかで、#30#32 のテストにtc-utilの機能のテストを追加できるかどうかが変わってくるので、先にこちらを見ていただけるとありがたいです。

tc-util.el provides a fallback definition of
`tcode-mazegaki-self-insert-or-convert`.  Because it uses `boundp`
instead of `fboundp` to detect an existing function, the fallback
overrides the proper definition in tc-mazegaki.el when loaded after
it.

Replace `boundp` with `fboundp`.
@naota
Copy link
Copy Markdown

naota commented Dec 2, 2025

おっと、fboundpがtならboundpもtかと思ってましたがそうでもないんですね。

他のミスもないか簡単にgrepしてみましたがなさそうです。よいと思います。

@naota naota merged commit 4b7ed91 into kanchoku:master Dec 2, 2025
5 checks passed
@tooro88 tooro88 deleted the fix-dummy-spc-in-util branch December 3, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants