todayi
TILs TIFUs Tags |

(interactive) makes fn available in M-x

Posted on Feb 2, 2023
  • This comes handy when you is in an org file and you want to prototype a function that acts on the same document. eg. modify something under cursor
  • https://emacs.stackexchange.com/questions/54602/how-do-i-define-a-function-to-execute-as-a-command-with-m-x
  • emacs
2025 © geekodour | ✨