Function: shadow-site-name

shadow-site-name is a byte-compiled function defined in shadowfile.el.gz.

Signature

(shadow-site-name SITE)

Documentation

Return name if SITE has the form "/name:", otherwise SITE.

Source Code

;; Defined in /usr/src/emacs/lisp/shadowfile.el.gz
(defun shadow-site-name (site)
  "Return name if SITE has the form \"/name:\", otherwise SITE."
  (if (string-match "\\`/\\([-.[:word:]]+\\):\\'" site)
      (match-string 1 site) site))