summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-11-29 15:27:06 -0500
committerGlenn Morris <rgm@gnu.org>2017-11-29 15:27:06 -0500
commit408862f02a874dcd9cfc2599adb35dec522b3ef4 (patch)
tree9b636d134d8fb2fb6ca15290396abbf291e71383 /lisp/emacs-lisp/bytecomp.el
parent9964db4c34bc01b319f70983400b9820be046cf2 (diff)
downloademacs-408862f02a874dcd9cfc2599adb35dec522b3ef4.tar.gz
emacs-408862f02a874dcd9cfc2599adb35dec522b3ef4.tar.bz2
emacs-408862f02a874dcd9cfc2599adb35dec522b3ef4.zip
; * lisp/emacs-lisp/bytecomp.el: Tweak message formatting in previous.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 9cbbfdcd7a9..e5a1ea782e8 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -175,7 +175,9 @@ are found in the same directory is hard-coded in various places in Emacs.)"
;; Sadly automake relies on this misfeature up to at least version 1.15.1.
(if (fboundp 'byte-compile-dest-file)
(or (featurep 'bytecomp)
- (display-warning 'bytecomp "Redefining `byte-compile-dest-file' is obsolete (as of 23.2); set `byte-compile-dest-file-function' instead."))
+ (display-warning 'bytecomp (format-message "\
+Changing `byte-compile-dest-file' is obsolete (as of 23.2);
+set `byte-compile-dest-file-function' instead.")))
(defun byte-compile-dest-file (filename)
"Convert an Emacs Lisp source file name to a compiled file name.
If `byte-compile-dest-file-function' is non-nil, uses that