[logaling-commit] logaling/logalimacs [master] Fix duplicated boot command

アーカイブの一覧に戻る

Yuta Yamada null+****@clear*****
Wed Aug 29 19:19:08 JST 2012


Yuta Yamada	2012-08-29 19:19:08 +0900 (Wed, 29 Aug 2012)

  New Revision: 556ad3fe5298df9b41323b6d6345302ac6c04dd4
  https://github.com/logaling/logalimacs/commit/556ad3fe5298df9b41323b6d6345302ac6c04dd4

  Log:
    Fix duplicated boot command

  Modified files:
    test/emacs_boot.sh

  Modified: test/emacs_boot.sh (+4 -4)
===================================================================
--- test/emacs_boot.sh    2012-08-28 23:01:20 +0900 (e7d795b)
+++ test/emacs_boot.sh    2012-08-29 19:19:08 +0900 (a530192)
@@ -1,11 +1,11 @@
 #!/bin/sh
 
 bootemacs() {
-    if [ "$1" != "" ]; then
-        emacs23 -q --load `pwd`/logalimacs_configs.el
-    else
-        emacs -q --load `pwd`/logalimacs_configs.el
+    EMACS=emacs
+    if [ "$#" = 0 ]; then
+        EMACS=emacs23
     fi
+    ${EMACS} -q --load `pwd`/logalimacs_configs.el
 }
 
 bootemacs
-------------- next part --------------
An HTML attachment was scrubbed...
ダウンロード 



More information about the logaling-commit mailing list
アーカイブの一覧に戻る