From: Mattias EngdegÄrd Date: Thu, 11 Feb 2021 19:41:02 +0000 (+0100) Subject: Don't inline tramp-debug-message X-Git-Tag: emacs-28.0.90~3786 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4459a10a6962d90adc4cdfada36175aaed99dfc;p=emacs.git Don't inline tramp-debug-message * lisp/net/tramp.el (tramp-debug-message): Change defsubst into defun. Until now the byte-compiler hasn't been clever enough to inline this function but this is about to change; the code expansion is unnecessary and makes compiler improvements more difficult to gauge. --- diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 690dd99ae55..e33075ec6f5 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1750,7 +1750,7 @@ The outline level is equal to the verbosity of the Tramp message." (tramp-compat-string-replace "/" " " (tramp-debug-buffer-name vec)) (tramp-compat-temporary-file-directory))) -(defsubst tramp-debug-message (vec fmt-string &rest arguments) +(defun tramp-debug-message (vec fmt-string &rest arguments) "Append message to debug buffer of VEC. Message is formatted with FMT-STRING as control string and the remaining ARGUMENTS to actually emit the message (if applicable)."