Function: rcirc-unformat

rcirc-unformat is an interactive and byte-compiled function defined in rcirc.el.gz.

Signature

(rcirc-unformat)

Documentation

Remove the closes formatting found closes to the current point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-unformat ()
  "Remove the closes formatting found closes to the current point."
  (interactive)
  (save-excursion
    (when (and (search-backward-regexp (rx (or "\^B" "\^]" "\^_" "\^^" "\^Q"))
                                       rcirc-prompt-end-marker t)
               (looking-at (rx (group (or "\^B" "\^]" "\^_" "\^^" "\^Q"))
                               (*? nonl)
                               (group "\^O"))))
      (replace-match "" nil nil nil 2)
      (replace-match "" nil nil nil 1))))