Function: org-entry-protect-space

org-entry-protect-space is a byte-compiled function defined in org.el.gz.

Signature

(org-entry-protect-space S)

Documentation

Protect spaces and newline in string S.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-entry-protect-space (s)
  "Protect spaces and newline in string S."
  (while (string-match " " s)
    (setq s (replace-match "%20" t t s)))
  (while (string-match "\n" s)
    (setq s (replace-match "%0A" t t s)))
  s)