]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix left-over from renaming 'comp-*' functions
authorEli Zaretskii <eliz@gnu.org>
Tue, 13 Feb 2024 19:59:03 +0000 (21:59 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 14 Feb 2024 08:16:33 +0000 (09:16 +0100)
* lisp/progmodes/elisp-mode.el (comp--write-bytecode-file): Call
this instead of 'comp-write-bytecode-file', its old name.
Reported by Arthur Miller <arthur.miller@live.com>.

(cherry picked from commit 10bf810e845061a83d466cd7367ab7d220653296)

lisp/progmodes/elisp-mode.el

index 116188653257918717e19b133fba71f9da88407f..5cdbea55c2cffb5ca5463748238c95ca0adcdf53 100644 (file)
@@ -221,7 +221,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map."
   (load (byte-compile-dest-file buffer-file-name)))
 
 (declare-function native-compile "comp")
-(declare-function comp-write-bytecode-file "comp")
+(declare-function comp--write-bytecode-file "comp")
 
 (defun emacs-lisp-native-compile ()
   "Native-compile the current buffer's file (if it has changed).
@@ -233,7 +233,7 @@ visited by the current buffer."
          (byte-to-native-output-buffer-file nil)
          (eln (native-compile buffer-file-name)))
     (when eln
-      (comp-write-bytecode-file eln))))
+      (comp-write--bytecode-file eln))))
 
 (defun emacs-lisp-native-compile-and-load ()
   "Native-compile the current buffer's file (if it has changed), then load it.