You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emacs/helm/files/helm-3.6.0-no-autoload-chec...

25 lines
633 B

https://bugs.gentoo.org/800177
--- helm-3.6.0/emacs-helm.sh
+++ helm-3.6.0/emacs-helm.sh
@@ -137,19 +137,6 @@
cd "${0%/*}" || exit 1
-# Check if autoload file exists.
-# It may be in a different directory if emacs-helm.sh is a symlink.
-TRUENAME=$(find . -samefile "$0" -printf "%l")
-if [ ! -z "$TRUENAME" ]; then
- AUTO_FILE="${TRUENAME%/*}/helm-autoloads.el"
-else
- AUTO_FILE="helm-autoloads.el"
-fi
-if [ ! -e "$AUTO_FILE" ]; then
- echo No autoloads found, please run make first to generate autoload file
- exit 1
-fi
-
cat > $CONF_FILE <<EOF
(setq initial-scratch-message (concat initial-scratch-message