Function: pcomplete/org-mode/file-option/title

pcomplete/org-mode/file-option/title is a byte-compiled function defined in org-pcomplete.el.gz.

Signature

(pcomplete/org-mode/file-option/title)

Documentation

Complete arguments for the #+TITLE file option.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-pcomplete.el.gz
(defun pcomplete/org-mode/file-option/title ()
  "Complete arguments for the #+TITLE file option."
  (pcomplete-here
   (let ((visited-file (buffer-file-name (buffer-base-buffer))))
     (list (or (and visited-file
		    (file-name-sans-extension
		     (file-name-nondirectory visited-file)))
	       (buffer-name (buffer-base-buffer)))))))