[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm e750a39ab7 1/2: Allow specifying -q instead of -Q on
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/helm e750a39ab7 1/2: Allow specifying -q instead of -Q on command line |
|
Date: |
Wed, 17 May 2023 01:59:40 -0400 (EDT) |
branch: elpa/helm
commit e750a39ab715bc734a9183f607e92e5e33964d04
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Allow specifying -q instead of -Q on command line
---
emacs-helm.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/emacs-helm.sh b/emacs-helm.sh
index e84e99d89b..de65e44aaa 100755
--- a/emacs-helm.sh
+++ b/emacs-helm.sh
@@ -25,6 +25,7 @@ test -z "$TEMP" && TEMP="/tmp"
CONF_FILE="$TEMP/helm-cfg.el"
EMACS=emacs
+QUICK=-Q
TOOLBARS=-1
LOAD_PACKAGES=
@@ -126,6 +127,9 @@ for a in "$@"; do
LOAD_PACKAGES="$1"
shift 1
;;
+ -Q | -q)
+ QUICK="$a"
+ ;;
-h)
usage
exit 1
@@ -258,4 +262,4 @@ cat > $CONF_FILE <<EOF
(add-hook 'kill-emacs-hook #'(lambda () (and (file-exists-p "$CONF_FILE")
(delete-file "$CONF_FILE"))))
EOF
-$EMACS -Q -l "$CONF_FILE" "$@"
+$EMACS "$QUICK" -l "$CONF_FILE" "$@"