(defun simple-dokuwiki-insert-headline (level)

"Insert a headline at point and put the cursor between the opening and closingmarks." (interactive "nHeader level from 1 (highest level) to 6: ") (simple-dokuwiki-insert-headline-string level) (save-excursion (simple-dokuwiki-insert-headline-string level t)))

(defun dokuwiki-save-current-buffer (pagename &optional namespace)

"Save current buffer (regardless of its mode) as dokuwiki-pagePAGENAME. Do not use this function. Use `dokuwiki-save-page'." (save-excursion (dokuwiki-save-region (point-min) (point-max) pagename namespace) (set-buffer-modified-p nil)))