Merge 2f6e7ae664 into e1b3561252
This commit is contained in:
commit
855e77b366
1 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
class Ex
|
||||
write: -> atom.workspace.getActiveEditor().save()
|
||||
write: ->
|
||||
if atom.workspace.getActiveTextEditor().getPath() isnt undefined
|
||||
atom.workspace.getActiveEditor().save()
|
||||
else
|
||||
atom.workspace.getActivePane().saveActiveItemAs()
|
||||
w: => @write()
|
||||
|
||||
module.exports = Ex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue