speed-of-thought-lisp icon indicating copy to clipboard operation
speed-of-thought-lisp copied to clipboard

Use local post-command hook

Open yuhan0 opened this issue 1 year ago • 0 comments

Sometimes the sotlisp--move-to-$ function would for some reason throw an error, and Emacs automatically removes it from the global post-command-hook, meaning the $ functionality gets broken until sotlisp is reloaded.

This change uses a targeted local post-command hook after each expansion, and removes itself immediately after, hopefully fixing this issue.

yuhan0 avatar Jun 20 '23 16:06 yuhan0