1 ;;; org-tag-eldoc-common.el --- common functions for org-tag-eldoc -*- lexical-binding: t; -*-
2 ;; -*- coding: utf-8 -*-
4 ;; Copyright (C) 2024-2025 Christopher M. Miles, all rights reserved.
12 (defvar org-tag-eldoc--explanation nil
13 "A private variable to store the function internal variable `explanation'.")
15 (defun org-tag-eldoc-common--format-explanation (text)
16 "Format TEXT for better displaying."
21 (string-clean-whitespace)
22 ;; (string-replace "\n" "")
24 (error "[org-tag-eldoc] `org-tag-eldoc-common--format-explanation' argument `TEXT' is `nil'")))
28 (provide 'org-tag-eldoc-common
)
30 ;;; org-tag-eldoc-common.el ends here