diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-02-06 11:17:39 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-12-30 14:39:45 +0000 |
commit | 7000bfeacdd14f282f61c91832387f24449c7587 (patch) | |
tree | 01a2ba1b38d9962058325815a503a9e5a9bed11e | |
parent | 7108939e9b2d4193568a0090e9cd644605d54011 (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 1575cd9b..4821230e 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) |