Function: erc-log-standardize-name
erc-log-standardize-name is a byte-compiled function defined in
erc-log.el.gz.
Signature
(erc-log-standardize-name FILENAME)
Documentation
Make FILENAME safe to use as the name of an ERC log.
This will not work with full paths, only names.
Any unsafe characters in the name are replaced with "!". The filename is downcased.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-log.el.gz
(defun erc-log-standardize-name (filename)
"Make FILENAME safe to use as the name of an ERC log.
This will not work with full paths, only names.
Any unsafe characters in the name are replaced with \"!\". The
filename is downcased."
(downcase (replace-regexp-in-string
"[/\\]" "!" (convert-standard-filename filename))))