Function: aw-clean-up-avy-current-path

aw-clean-up-avy-current-path is a byte-compiled function defined in ace-window.el.

Signature

(aw-clean-up-avy-current-path)

Documentation

Edit avy-current-path so only window label characters remain.

Source Code

;; Defined in ~/.emacs.d/elpa/ace-window-20220911.358/ace-window.el
(defun aw-clean-up-avy-current-path ()
  "Edit `avy-current-path' so only window label characters remain."
  ;; Remove any possible ace-window command char that may
  ;; precede the last specified window label, so
  ;; functions can use `avy-current-path' as the chosen
  ;; window label.
  (when (and (> (length avy-current-path) 0)
             (assq (aref avy-current-path 0) aw-dispatch-alist))
    (setq avy-current-path (substring avy-current-path 1))))