Next: , Previous: , Up: Custom Indexing Command   [Index]


4.3.3.2 insert-pindex

(defun insert-pindex ()
  "Insert #+pindex: in an Orgmode document."
  (interactive)
  (insert-char #x0a)
  (indent-according-to-mode)
  (insert "#+pindex:"))
(global-set-key (kbd "C-c P") 'insert-pindex)