Skip to content

Commit c84c42e

Browse files
committed
If set, use the ANDROID_HOME environment variable for android-mode-sdk-dir.
1 parent 22f273b commit c84c42e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

android-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
:prefix "android-mode-"
5454
:group 'applications)
5555

56-
(defcustom android-mode-sdk-dir "~/Android/sdk"
56+
(defcustom android-mode-sdk-dir
57+
(or (getenv "ANDROID_HOME") "~/Android/sdk")
5758
"Set to the directory containing the Android SDK."
5859
:type 'string
5960
:group 'android-mode)

0 commit comments

Comments
 (0)