Function: org-capture-escaped-%

org-capture-escaped-% is a byte-compiled function defined in org-capture.el.gz.

Signature

(org-capture-escaped-%)

Documentation

Non-nil if % was escaped.

If yes, unescape it now. Assume match-data contains the placeholder to check.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-capture.el.gz
(defun org-capture-escaped-% ()
  "Non-nil if % was escaped.
If yes, unescape it now.  Assume `match-data' contains the
placeholder to check."
  (save-excursion
    (goto-char (match-beginning 0))
    (let ((n (abs (skip-chars-backward "\\\\"))))
      (delete-char (/ (1+ n) 2))
      (cl-oddp n))))