Re: Turn function into interactive

2019-12-30 Thread Berry, Charles
> On Dec 29, 2019, at 9:26 PM, Lawrence Bottorff wrote: > > I've discovered org-outline-level which when in a code block under a given > header delivers as expected: > > * This old level > #+BEGIN_SRC emacs-lisp > (org-current-level) > #+END_SRC > > #+RESULTS: > : 1 > > Now, how could I tur

Turn function into interactive

2019-12-29 Thread Lawrence Bottorff
I've discovered org-outline-level which when in a code block under a given header delivers as expected: * This old level #+BEGIN_SRC emacs-lisp (org-current-level) #+END_SRC #+RESULTS: : 1 Now, how could I turn this into an interactive callable with M-x? My stab in the dark (defun my-insert-lev