Function: epg--decode-quotedstring

epg--decode-quotedstring is a byte-compiled function defined in epg.el.gz.

Signature

(epg--decode-quotedstring STRING)

Source Code

;; Defined in /usr/src/emacs/lisp/epg.el.gz
(defun epg--decode-quotedstring (string)
  (let ((index 0))
    (while (string-match "\\\\\\(\\([,=+<>#;\\\"]\\)\\|\
\\([[:xdigit:]][[:xdigit:]]\\)\\)"
			 string index)
      (if (match-beginning 2)
	  (setq string (replace-match "\\2" t nil string)
		index (1- (match-end 0)))
	(if (match-beginning 3)
	    (setq string (replace-match (string (string-to-number
						 (match-string 0 string) 16))
					t t string)
		  index (- (match-end 0) 2)))))
    string))