Function: org--get-local-tags

org--get-local-tags is a byte-compiled function defined in org.el.gz.

Signature

(org--get-local-tags &optional EPOM)

Documentation

Return list of tags for headline at EPOM.

When EPOM is non-nil, it should be a marker, point, or element representing headline.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org--get-local-tags (&optional epom)
  "Return list of tags for headline at EPOM.
When EPOM is non-nil, it should be a marker, point, or element
representing headline."
  ;; If we do not explicitly copy the result, reference would
  ;; be returned and cache element might be modified directly.
  (mapcar
   #'copy-sequence
   (org-element-property
    :tags
    (org-element-lineage
     (org-element-at-point epom)
     '(headline inlinetask)
     'with-self))))