blob: 4b415088dcc68c7ac1684f68a3d8ca58916338ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
https://bugs.gentoo.org/800177
--- helm-3.8.0/emacs-helm.sh
+++ helm-3.8.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=$(ls -l "$0" | awk '{print $11}')
-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
|