From: Torsten Hilbrich Date: Mon, 14 Dec 2020 08:34:44 +0000 (+0100) Subject: * lisp/net/dictionary.el: Prefer defsubst over defmacro X-Git-Tag: emacs-28.0.90~4726^2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ffa7d6671d;p=emacs.git * lisp/net/dictionary.el: Prefer defsubst over defmacro --- diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index 624c1a40f55..782282c27cd 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -422,17 +422,17 @@ is utf-8" (dictionary-pre-buffer) (dictionary-post-buffer)) -(defmacro dictionary-reply-code (reply) +(defsubst dictionary-reply-code (reply) "Return the reply code stored in `reply'." - (list 'get reply ''reply-code)) + (get reply 'reply-code)) -(defmacro dictionary-reply (reply) +(defsubst dictionary-reply (reply) "Return the string reply stored in `reply'." - (list 'get reply ''reply)) + (get reply 'reply)) -(defmacro dictionary-reply-list (reply) +(defsubst dictionary-reply-list (reply) "Return the reply list stored in `reply'." - (list 'get reply ''reply-list)) + (get reply 'reply-list)) (defun dictionary-open-server (server) "Opens a new connection to this server"