Add alias for erc-propertize -> propertize

This commit is contained in:
Case Duckworth 2021-07-31 20:18:21 -05:00
parent e77b950a73
commit 6cb7314448
1 changed files with 4 additions and 2 deletions

View File

@ -35,8 +35,8 @@
(defun erc/update-header-line-show-disconnected ()
"Use a different face in the header-line when disconnected."
(erc-with-server-buffer
(cond ((erc-server-process-alive) 'erc-header-line)
(t 'erc/header-line-disconnected))))
(cond ((erc-server-process-alive) 'erc-header-line)
(t 'erc/header-line-disconnected))))
;;; Convenience functions
@ -116,6 +116,8 @@ If USE-TLS is non-nil, use TLS."
:group 'erc
:type 'integer)
(defalias 'erc-propertize 'propertize) ; I guess...taken out in 28 ?
(defun erc-format-truncate-@nick (&optional user channel-data)
"Format the nickname of USER as in `erc-format-@nick', with truncation.
Truncation is customized using the `erc-nick-truncate' variable.