Function: rot13
rot13 is an autoloaded and byte-compiled function defined in
rot13.el.gz.
Signature
(rot13 OBJECT &optional START END)
Documentation
ROT13 encrypt OBJECT, a buffer or string.
If OBJECT is a buffer, encrypt the region between START and END. If OBJECT is a string, encrypt it in its entirety, ignoring START and END, and return the encrypted string.
Probably introduced at or before Emacs version 18.
Source Code
;; Defined in /usr/src/emacs/lisp/rot13.el.gz
;;;###autoload
(defun rot13 (object &optional start end)
"ROT13 encrypt OBJECT, a buffer or string.
If OBJECT is a buffer, encrypt the region between START and END.
If OBJECT is a string, encrypt it in its entirety, ignoring START
and END, and return the encrypted string."
(if (bufferp object)
(with-current-buffer object
(rot13-region start end))
(rot13-string object)))