diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-02-11 20:41:02 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-02-12 20:52:05 +0100 |
commit | c4459a10a6962d90adc4cdfada36175aaed99dfc (patch) | |
tree | ad67342a2db5170eb3c58f5691f3fa8c0b1aeeed | |
parent | b24ae269b28673fabf4458f0c3d4afbf5c93a164 (diff) | |
download | emacs-c4459a10a6962d90adc4cdfada36175aaed99dfc.tar.gz emacs-c4459a10a6962d90adc4cdfada36175aaed99dfc.tar.bz2 emacs-c4459a10a6962d90adc4cdfada36175aaed99dfc.zip |
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.
-rw-r--r-- | lisp/net/tramp.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)." |