Function: avy--old-str

avy--old-str is a byte-compiled function defined in avy.el.

Signature

(avy--old-str PT WND)

Documentation

Return a one-char string at PT in WND.

Source Code

;; Defined in ~/.emacs.d/elpa/avy-20241101.1357/avy.el
(defun avy--old-str (pt wnd)
  "Return a one-char string at PT in WND."
  (let ((old-str (with-selected-window wnd
                   (buffer-substring pt (1+ pt)))))
    (if avy-background
        (propertize old-str 'face 'avy-background-face)
      old-str)))