                          'face
                          (spacemacs//space-doc-cache-marker-face
                           spacemacs--space-doc-cache)))
-
         (overlay-put beginning-marker-overlay
                      'invisible t)
         (overlay-put ending-marker-overlay
                      'invisible t)))
-
     (overlay-put beginning-marker-overlay
                  'space-doc-emphasis-overlay t)
     (overlay-put ending-marker-overlay
                  'space-doc-emphasis-overlay t)))
 
 (defun spacemacs//space-doc-modf-emphasis-overlays (&optional enable)
-  "If ENABLE has non-nil value - overlay regions which have
-already been emphasized by `org-do-emphasis-faces'
-in the current buffer. Otherwise remove all overlays
-with property `space-doc-emphasis-overlay'."
-
+  "Emphasis overlays.
+If ENABLE is non-nil, overlay regions which have already been emphasized by
+`org-do-emphasis-faces'in the current buffer.
+Otherwise remove all overlays with property `space-doc-emphasis-overlay'.
+This functions is aimed to be used with `spacemacs--space-doc-modificators'."
   ;; Remove overlays.
   (dolist (overlay (overlays-in (point-min) (point-max)))
     (when (overlay-get overlay 'space-doc-emphasis-overlay)
       (delete-overlay overlay)))
-
   (when enable
       (dolist (emphasized-region
                (spacemacs//space-doc-find-regions-by-text-property

                                   (match-end 1))))
                (overlay-put new-overlay  (cadr tag) (cddr tag))
                (overlay-put new-overlay 'space-doc-tag-overlay t))))))

    ;; Remove overlays.
    (dolist (overlay (overlays-in (point-min) (point-max)))
      (when (overlay-get overlay 'space-doc-tag-overlay)
        (delete-overlay overlay)))))

(defun spacemacs//space-doc-modf-org-block-line-face-remap (&optional enable)
  "If ENABLE has non-nil value - hide text of the code block meta lines
in the current buffer. If the blocks have background color text won't be
masked because it makes them look ugly with some themes.
If ENABLE has nil value - revert to the default."

  (if enable
      (let* ((default-bg (or (face-background 'default)
                             'unspecified))

  (org-add-link-type nil))

(defun spacemacs//space-doc-open (path)
  "Open PATH link.
If PATH argument is a link to an .org file that is located in the Spacemacs
GitHub repository then visit the local copy of the file with
`spacemacs/view-org-file'.
Open all other links with `browse-url'."
  (let ((git-url-root-regexp
         (concat "\\/\\/github\\.com\\/syl20bnr\\/spacemacs\\/blob"
