gentoo-ebuilds/app-emacs/bbdb/files/bbdb-3.2.2d_p20231122-loaddefs.patch
Ulrich Müller 36b41068fe
app-emacs/bbdb: Add lexbind cookie to loaddefs file
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2025-04-21 13:38:26 +02:00

12 lines
485 B
Diff
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- bbdb/lisp/Makefile.am
+++ bbdb/lisp/Makefile.am
@@ -87,7 +87,8 @@
echo "*** Delete these files; do not load them from your init file ***") && \
false ; \
fi
- @echo "(provide 'bbdb-loaddefs)" > $@;
+ @echo ";;; $@ -*- lexical-binding: t -*-" > $@
+ @echo "(provide 'bbdb-loaddefs)" >> $@;
@echo "(if (and load-file-name (file-name-directory load-file-name))" >> $@;
@echo " (add-to-list 'load-path (file-name-directory load-file-name)))" >> $@;
@echo " " >> $@;