help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inserting heading level and titile from first non-blank line


From: Heime
Subject: Inserting heading level and titile from first non-blank line
Date: Fri, 29 Mar 2024 09:34:54 +0000

I am adding a heading with the following function using 
(outline-insert-heading).
And want ta adapt it for a user to select the heading level. As the title, of 
the heading I want to use the first non-blank line that follows the position of 
the  heading.

(defun kinus ()
  (interactive)
  (outline-insert-heading))



Sent with Proton Mail secure email.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]