[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44973: Add a macOS global hotkey function
From: |
Lars Ingebrigtsen |
Subject: |
bug#44973: Add a macOS global hotkey function |
Date: |
Mon, 21 Dec 2020 05:34:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
j@mremus.net writes:
> But no matter what I do, it always crashes the program. I think my
> first problem is not knowing how to call elisp (run_hooks, safe_call,
> etc?) correctly, but second, I suspect if this is crashing due to a
> threading issue.
I am not at all familiar with the ns functions, but looking at the other
.m files, it looks like you should be able to just say
call0 (intern ("some-function"));
or something like that? (Modulo threading stuff.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no