Function: erc-compute-full-name
erc-compute-full-name is a byte-compiled function defined in
erc.el.gz.
Signature
(erc-compute-full-name &optional FULL-NAME)
Documentation
Return user's full name.
This tries a number of increasingly more default methods until a non-nil value is found.
- FULL-NAME (the argument passed to this function)
- The erc-user-full-name option
- The value of the IRCNAME environment variable
- The result from the user-full-name(var)/user-full-name(fun) function
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-compute-full-name (&optional full-name)
"Return user's full name.
This tries a number of increasingly more default methods until a
non-nil value is found.
- FULL-NAME (the argument passed to this function)
- The `erc-user-full-name' option
- The value of the IRCNAME environment variable
- The result from the `user-full-name' function"
(or full-name
erc-user-full-name
(getenv "IRCNAME")
(if erc-anonymous-login "unknown" nil)
(user-full-name)))