 
   # Public: Opens multiple paths, in existing windows if possible.
   #
-  # __Options__
-  #
-  # + pathsToOpen - The array of file paths to open
-  # + pidToKillWhenClosed - The integer of the pid to kill
-  # + newWindow - Boolean of whether this should be opened in a new window.
-  # + devMode - Boolean to control the opened window's dev mode.
+  # * options
+  #    + pathsToOpen:
+  #      The array of file paths to open
+  #    + pidToKillWhenClosed:
+  #      The integer of the pid to kill
+  #    + newWindow:
+  #      Boolean of whether this should be opened in a new window.
+  #    + devMode:
+  #      Boolean to control the opened window's dev mode.
   openPaths: ({pathsToOpen, pidToKillWhenClosed, newWindow, devMode}) ->
     @openPath({pathToOpen, pidToKillWhenClosed, newWindow, devMode}) for pathToOpen in pathsToOpen ? []
 
   # Public: Opens a single path, in an existing window if possible.
   #
-  # __Options__
-  #
-  # + pathsToOpen - The array of file paths to open
-  # + pidToKillWhenClosed - The integer of the pid to kill
-  # + newWindow - Boolean of whether this should be opened in a new window.
-  # + devMode - Boolean to control the opened window's dev mode.
+  # * options
+  #    + pathsToOpen:
+  #      The array of file paths to open
+  #    + pidToKillWhenClosed:
+  #      The integer of the pid to kill
+  #    + newWindow:
+  #      Boolean of whether this should be opened in a new window.
+  #    + devMode:
+  #      Boolean to control the opened window's dev mode.
   openPath: ({pathToOpen, pidToKillWhenClosed, newWindow, devMode}={}) ->
     unless devMode
       existingWindow = @windowForPath(pathToOpen) unless pidToKillWhenClosed or newWindow


socketPath = '/tmp/atom.sock'

# Public: The application's singleton class.
#
# It's the entry point into the Atom application and maintains the global state
# of the application.

  #
  # Currently only supports atom://session/<session-id> urls.
  #
  # * options
  #    + urlToOpen:
  #      The atom:// url to open.
  #    + devMode:
  #      Boolean to control the opened window's dev mode.
  openUrl: ({urlToOpen, devMode}) ->
    parsedUrl = url.parse(urlToOpen)
    if parsedUrl.host is 'session'
