diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-02-06 11:17:39 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2018-02-09 22:14:59 -0700 |
commit | 716f340094c452db34c1ad0741521f4fbf53c6fa (patch) | |
tree | d0175b9e6dc054b8832e561db120f3dc8e9e5118 | |
parent | 08e502182f2e3892db87b6a01c5a7e60f1b03d4a (diff) |
patch-emacs-helm-sh
Gbp-Pq: Name 0004-patch-emacs-helm-sh.patch
-rwxr-xr-x | emacs-helm.sh | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/emacs-helm.sh b/emacs-helm.sh index 71101be4..860e741a 100755 --- a/emacs-helm.sh +++ b/emacs-helm.sh @@ -41,22 +41,6 @@ esac LOAD_PATH=$($EMACS -q -batch --eval "(prin1 load-path)") -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 ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\ @@ -79,17 +63,10 @@ cat > $CONF_FILE <<EOF (setq load-path (quote $LOAD_PATH)) (require 'package) -;; User may be using a non standard \`package-user-dir'. -;; Modify \`package-directory-list' instead of \`package-user-dir' -;; in case the user starts Helm from a non-ELPA installation. -(unless (file-equal-p package-user-dir "~/.emacs.d/elpa") - (add-to-list 'package-directory-list (directory-file-name - (file-name-directory - (directory-file-name default-directory))))) (setq package-load-list '((helm-core t) (helm t) (async t) (popup t))) (package-initialize) -(add-to-list 'load-path (file-name-directory (file-truename "$0"))) +(add-to-list 'package-directory-list "/usr/share/emacs/site-lisp/elpa-src") (setq default-frame-alist '((vertical-scroll-bars . nil) (tool-bar-lines . 0) (menu-bar-lines . 0) |