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

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

Signature

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

Documentation

Complete arguments for the #+STARTUP file option.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-pcomplete.el.gz
(defun pcomplete/org-mode/file-option/startup ()
  "Complete arguments for the #+STARTUP file option."
  (while (pcomplete-here
	  (let ((opts (pcomplete-uniquify-list
		       (mapcar #'car org-startup-options))))
	    ;; Some options are mutually exclusive, and shouldn't be completed
	    ;; against if certain other options have already been seen.
	    (dolist (arg pcomplete-args)
	      (cond
	       ((string= arg "hidestars")
		(setq opts (delete "showstars" opts)))))
	    opts))))