changeset 601:ea6a5dc5893b

Fix typo in var name.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Tue, 15 Dec 2015 23:14:14 +0200
parents 33b86caf4b1a
children 29d5e6e64da8
files emacs/e
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/emacs/e	Sat Dec 12 17:10:21 2015 +0200
+++ b/emacs/e	Tue Dec 15 23:14:14 2015 +0200
@@ -18,20 +18,20 @@
 esac
 
 case ${0##*/} in
-  ew) ERAGS="-a emacs" ;;
-  ec) ERAGS="-c" ;;
-  et) ERAGS="-t" ;;
-  *) ERAGS="-a emacs -n" ;;
+  ew) args="-a emacs" ;;
+  ec) args="-c" ;;
+  et) args="-t" ;;
+  *) args="-a emacs -n" ;;
 esac
 
 if [ -n "$COMSPEC" ]; then
   # We probably under Windows like OS. I like native Emacs over Cygwin.
-  exec emacsclientw $ERAGS -- "$@"
+  exec emacsclientw $args -- "$@"
 fi
 
 f=`readlink -f "$1"`
 if [ -e "$f" ] && [ ! -w "$f" ] || [ -e "${f%/*}" ] && [ ! -w $f ]; then
     shift
-    exec emacsclient $ERAGS -- "/sudo::$f" "$@"
+    exec emacsclient $args -- "/sudo::$f" "$@"
 fi
-exec emacsclient $ERAGS -- "$@"
+exec emacsclient $args -- "$@"