]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-emacs-mua
Use https instead of http where possible
[notmuch] / notmuch-emacs-mua
index b51d8d0e2c5be5000371e00337d9c9941322547b..02d7fd74d67c539db9f7ff7b84a57d4e14c57b0f 100755 (executable)
@@ -15,7 +15,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see http://www.gnu.org/licenses/ .
+# along with this program.  If not, see https://www.gnu.org/licenses/ .
 #
 # Authors: Jani Nikula <jani@nikula.org>
 #
@@ -30,8 +30,8 @@ escape ()
     printf -v $2 '%s' "${__escape_arg__//\"/\\\"}"
 }
 
-EMACS=${EMACS-emacs}
-EMACSCLIENT=${EMACSCLIENT-emacsclient}
+EMACS=${EMACS:-emacs}
+EMACSCLIENT=${EMACSCLIENT:-emacsclient}
 
 PRINT_ONLY=
 NO_WINDOW=
@@ -108,6 +108,7 @@ while getopts :s:c:b:i:h opt; do
            ;;
        --auto-daemon)
            AUTO_DAEMON="--alternate-editor="
+           CREATE_FRAME="-c"
            ;;
        --create-frame)
            CREATE_FRAME="-c"