Fix error when running `checkout-head-revision`
Fix error when running `checkout-head-revision`

I got the following error when running `checkout-head-revision`:

```
Uncaught TypeError: undefined is not a function /Applications/Atom.app/Contents/Resources/app/src/editor-component.js:804
addCommandListeners.editor:checkout-head-revision /Applications/Atom.app/Contents/Resources/app/src/editor-component.js:804
(anonymous function) /Applications/Atom.app/Contents/Resources/app/src/editor-component.js:840
jQuery.event.dispatch /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4676
elemData.handle /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4360
module.exports.KeymapManager.dispatchCommandEvent /Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:400
module.exports.KeymapManager.handleKeyboardEvent /Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:181
module.exports.WindowEventHandler.onKeydown
```

It looks like it was caused by a bad merge conflict resolution in 0eaec57.

Test Plan:

Built new Atom and pressed `cmd-alt-z` and didn't get an error.

Looked at a side-by-side diff to check for any other merge issues:

```
git difftool -t opendiff 32e59ce..32e59ce^ src/editor-component.coffee
```

stuartquin/atom,YunchengLiao/atom,brumm/atom,abcP9110/atom,sebmck/atom,sotayamashita/atom,kevinrenaers/atom,Mokolea/atom,pengshp/atom,jtrose2/atom,hagb4rd/atom,scv119/atom,Rodjana/atom,Locke23rus/atom,scv119/atom,RobinTec/atom,rxkit/atom,kdheepak89/atom,basarat/atom,kandros/atom,ivoadf/atom,amine7536/atom,dannyflax/atom,xream/atom,deepfox/atom,florianb/atom,ralphtheninja/atom,lovesnow/atom,paulcbetts/atom,acontreras89/atom,bencolon/atom,kdheepak89/atom,rjattrill/atom,pombredanne/atom,kjav/atom,avdg/atom,mostafaeweda/atom,ezeoleaf/atom,yangchenghu/atom,kc8wxm/atom,folpindo/atom,niklabh/atom,RobinTec/atom,abcP9110/atom,Abdillah/atom,0x73/atom,dijs/atom,hellendag/atom,FoldingText/atom,jtrose2/atom,deoxilix/atom,john-kelly/atom,florianb/atom,codex8/atom,kjav/atom,devmario/atom,deepfox/atom,russlescai/atom,batjko/atom,einarmagnus/atom,constanzaurzua/atom,pombredanne/atom,t9md/atom,liuxiong332/atom,jtrose2/atom,Abdillah/atom,Mokolea/atom,mertkahyaoglu/atom,Galactix/atom,gzzhanghao/atom,RobinTec/atom,champagnez/atom,sekcheong/atom,beni55/atom,G-Baby/atom,G-Baby/atom,chengky/atom,ezeoleaf/atom,hakatashi/atom,YunchengLiao/atom,Huaraz2/atom,splodingsocks/atom,rmartin/atom,kdheepak89/atom,basarat/atom,folpindo/atom,abcP9110/atom,abcP9110/atom,decaffeinate-examples/atom,vjeux/atom,acontreras89/atom,scippio/atom,rookie125/atom,tjkr/atom,RuiDGoncalves/atom,abcP9110/atom,mnquintana/atom,SlimeQ/atom,yamhon/atom,Hasimir/atom,bryonwinger/atom,kdheepak89/atom,Abdillah/atom,isghe/atom,Sangaroonaom/atom,kjav/atom,sotayamashita/atom,isghe/atom,rjattrill/atom,sxgao3001/atom,h0dgep0dge/atom,YunchengLiao/atom,vinodpanicker/atom,anuwat121/atom,hpham04/atom,omarhuanca/atom,jlord/atom,hharchani/atom,vcarrera/atom,stinsonga/atom,toqz/atom,FIT-CSE2410-A-Bombs/atom,synaptek/atom,yalexx/atom,pengshp/atom,johnhaley81/atom,davideg/atom,scv119/atom,alfredxing/atom,panuchart/atom,lovesnow/atom,0x73/atom,targeter21/atom,kandros/atom,johnrizzo1/atom,devmario/atom,daxlab/atom,mnquintana/atom,Klozz/atom,crazyquark/atom,dkfiresky/atom,bcoe/atom,kittens/atom,SlimeQ/atom,dsandstrom/atom,paulcbetts/atom,helber/atom,sebmck/atom,Jandersoft/atom,kc8wxm/atom,rsvip/aTom,vinodpanicker/atom,constanzaurzua/atom,matthewclendening/atom,rxkit/atom,vhutheesing/atom,woss/atom,AlexxNica/atom,sxgao3001/atom,isghe/atom,ali/atom,fedorov/atom,sillvan/atom,Andrey-Pavlov/atom,devoncarew/atom,CraZySacX/atom,bencolon/atom,MjAbuz/atom,brettle/atom,Shekharrajak/atom,mertkahyaoglu/atom,darwin/atom,tjkr/atom,stinsonga/atom,matthewclendening/atom,Galactix/atom,rookie125/atom,mertkahyaoglu/atom,charleswhchan/atom,targeter21/atom,kandros/atom,AlbertoBarrago/atom,bcoe/atom,mrodalgaard/atom,jjz/atom,BogusCurry/atom,scv119/atom,hpham04/atom,ilovezy/atom,fedorov/atom,Sangaroonaom/atom,ObviouslyGreen/atom,yalexx/atom,me6iaton/atom,yamhon/atom,AlisaKiatkongkumthon/atom,deepfox/atom,deoxilix/atom,constanzaurzua/atom,Jonekee/atom,qskycolor/atom,Ju2ender/atom,Austen-G/BlockBuilder,SlimeQ/atom,Neron-X5/atom,jlord/atom,RuiDGoncalves/atom,panuchart/atom,mertkahyaoglu/atom,Abdillah/atom,isghe/atom,ardeshirj/atom,brettle/atom,crazyquark/atom,acontreras89/atom,davideg/atom,h0dgep0dge/atom,FoldingText/atom,devoncarew/atom,davideg/atom,dijs/atom,anuwat121/atom,Austen-G/BlockBuilder,jordanbtucker/atom,hakatashi/atom,stuartquin/atom,daxlab/atom,omarhuanca/atom,Jandersoft/atom,johnrizzo1/atom,svanharmelen/atom,Neron-X5/atom,Jdesk/atom,gisenberg/atom,DiogoXRP/atom,yomybaby/atom,MjAbuz/atom,folpindo/atom,scippio/atom,NunoEdgarGub1/atom,GHackAnonymous/atom,Shekharrajak/atom,sxgao3001/atom,elkingtonmcb/atom,boomwaiza/atom,lpommers/atom,beni55/atom,harshdattani/atom,constanzaurzua/atom,g2p/atom,dannyflax/atom,paulcbetts/atom,batjko/atom,githubteacher/atom,rlugojr/atom,0x73/atom,NunoEdgarGub1/atom,sebmck/atom,batjko/atom,originye/atom,mdumrauf/atom,prembasumatary/atom,bj7/atom,ppamorim/atom,mrodalgaard/atom,isghe/atom,sillvan/atom,sekcheong/atom,efatsi/atom,Jdesk/atom,Dennis1978/atom,ralphtheninja/atom,gisenberg/atom,bj7/atom,medovob/atom,bcoe/atom,liuderchi/atom,amine7536/atom,n-riesco/atom,G-Baby/atom,sotayamashita/atom,Ju2ender/atom,ali/atom,beni55/atom,russlescai/atom,Dennis1978/atom,sillvan/atom,YunchengLiao/atom,rsvip/aTom,yalexx/atom,BogusCurry/atom,yalexx/atom,amine7536/atom,batjko/atom,rsvip/aTom,wiggzz/atom,Klozz/atom,lisonma/atom,mostafaeweda/atom,lisonma/atom,constanzaurzua/atom,AlisaKiatkongkumthon/atom,pombredanne/atom,n-riesco/atom,cyzn/atom,qiujuer/atom,dsandstrom/atom,qskycolor/atom,ykeisuke/atom,phord/atom,Jandersolutions/atom,crazyquark/atom,FoldingText/atom,sillvan/atom,ironbox360/atom,vinodpanicker/atom,sebmck/atom,kc8wxm/atom,prembasumatary/atom,dsandstrom/atom,rmartin/atom,ReddTea/atom,chfritz/atom,jacekkopecky/atom,gisenberg/atom,Jandersoft/atom,deoxilix/atom,SlimeQ/atom,efatsi/atom,pombredanne/atom,yalexx/atom,KENJU/atom,mertkahyaoglu/atom,devmario/atom,ali/atom,jordanbtucker/atom,ralphtheninja/atom,Arcanemagus/atom,Andrey-Pavlov/atom,AdrianVovk/substance-ide,jacekkopecky/atom,alexandergmann/atom,FIT-CSE2410-A-Bombs/atom,liuxiong332/atom,jordanbtucker/atom,jjz/atom,Jdesk/atom,g2p/atom,florianb/atom,rsvip/aTom,Locke23rus/atom,FIT-CSE2410-A-Bombs/atom,daxlab/atom,Hasimir/atom,codex8/atom,crazyquark/atom,ashneo76/atom,dkfiresky/atom,tanin47/atom,decaffeinate-examples/atom,KENJU/atom,0x73/atom,brumm/atom,jtrose2/atom,sekcheong/atom,bolinfest/atom,ivoadf/atom,Ju2ender/atom,Rychard/atom,nrodriguez13/atom,andrewleverette/atom,yomybaby/atom,Rodjana/atom,Jandersoft/atom,niklabh/atom,svanharmelen/atom,synaptek/atom,AlexxNica/atom,lisonma/atom,YunchengLiao/atom,synaptek/atom,vjeux/atom,tony612/atom,scippio/atom,originye/atom,nucked/atom,brettle/atom,ashneo76/atom,avdg/atom,prembasumatary/atom,splodingsocks/atom,AlisaKiatkongkumthon/atom,vinodpanicker/atom,matthewclendening/atom,cyzn/atom,DiogoXRP/atom,splodingsocks/atom,cyzn/atom,AdrianVovk/substance-ide,hakatashi/atom,PKRoma/atom,matthewclendening/atom,me-benni/atom,Jdesk/atom,bcoe/atom,kittens/atom,MjAbuz/atom,GHackAnonymous/atom,Jdesk/atom,einarmagnus/atom,fang-yufeng/atom,fscherwi/atom,deepfox/atom,DiogoXRP/atom,basarat/atom,Jonekee/atom,vcarrera/atom,Ju2ender/atom,nvoron23/atom,dannyflax/atom,dsandstrom/atom,hagb4rd/atom,john-kelly/atom,targeter21/atom,champagnez/atom,amine7536/atom,ironbox360/atom,codex8/atom,rjattrill/atom,gontadu/atom,mostafaeweda/atom,dannyflax/atom,helber/atom,h0dgep0dge/atom,fang-yufeng/atom,gabrielPeart/atom,bencolon/atom,Shekharrajak/atom,BogusCurry/atom,Galactix/atom,lpommers/atom,davideg/atom,russlescai/atom,mrodalgaard/atom,me-benni/atom,SlimeQ/atom,vhutheesing/atom,jlord/atom,Abdillah/atom,AlbertoBarrago/atom,seedtigo/atom,hpham04/atom,tony612/atom,me-benni/atom,fang-yufeng/atom,Arcanemagus/atom,Rodjana/atom,pengshp/atom,tony612/atom,champagnez/atom,ardeshirj/atom,tisu2tisu/atom,chengky/atom,ReddTea/atom,Austen-G/BlockBuilder,decaffeinate-examples/atom,dkfiresky/atom,Jandersolutions/atom,hharchani/atom,vjeux/atom,Sangaroonaom/atom,Shekharrajak/atom,001szymon/atom,fredericksilva/atom,kittens/atom,mnquintana/atom,hakatashi/atom,liuxiong332/atom,fredericksilva/atom,mnquintana/atom,sxgao3001/atom,mnquintana/atom,Ingramz/atom,elkingtonmcb/atom,harshdattani/atom,KENJU/atom,matthewclendening/atom,AlexxNica/atom,woss/atom,atom/atom,KENJU/atom,mostafaeweda/atom,Hasimir/atom,transcranial/atom,crazyquark/atom,oggy/atom,omarhuanca/atom,jtrose2/atom,oggy/atom,jacekkopecky/atom,fredericksilva/atom,kc8wxm/atom,palita01/atom,florianb/atom,chfritz/atom,sekcheong/atom,synaptek/atom,sillvan/atom,githubteacher/atom,FoldingText/atom,omarhuanca/atom,ilovezy/atom,rookie125/atom,bolinfest/atom,hpham04/atom,anuwat121/atom,ReddTea/atom,vcarrera/atom,AdrianVovk/substance-ide,fredericksilva/atom,gisenberg/atom,kdheepak89/atom,transcranial/atom,Austen-G/BlockBuilder,qiujuer/atom,splodingsocks/atom,CraZySacX/atom,Locke23rus/atom,jeremyramin/atom,ykeisuke/atom,CraZySacX/atom,001szymon/atom,medovob/atom,jacekkopecky/atom,ykeisuke/atom,bcoe/atom,gzzhanghao/atom,Arcanemagus/atom,KENJU/atom,dsandstrom/atom,yangchenghu/atom,kittens/atom,russlescai/atom,PKRoma/atom,pkdevbox/atom,alexandergmann/atom,lisonma/atom,kjav/atom,lovesnow/atom,efatsi/atom,tanin47/atom,fscherwi/atom,ashneo76/atom,acontreras89/atom,hharchani/atom,qskycolor/atom,jacekkopecky/atom,vcarrera/atom,omarhuanca/atom,hpham04/atom,ppamorim/atom,nvoron23/atom,yomybaby/atom,me6iaton/atom,Shekharrajak/atom,stinsonga/atom,n-riesco/atom,Klozz/atom,bolinfest/atom,woss/atom,mdumrauf/atom,fredericksilva/atom,jjz/atom,ObviouslyGreen/atom,lisonma/atom,devoncarew/atom,ppamorim/atom,ppamorim/atom,sebmck/atom,tmunro/atom,amine7536/atom,alfredxing/atom,fscherwi/atom,rlugojr/atom,dannyflax/atom,Rychard/atom,AlbertoBarrago/atom,kc8wxm/atom,yomybaby/atom,tmunro/atom,gabrielPeart/atom,florianb/atom,Andrey-Pavlov/atom,paulcbetts/atom,burodepeper/atom,bsmr-x-script/atom,pkdevbox/atom,me6iaton/atom,lovesnow/atom,seedtigo/atom,stinsonga/atom,devmario/atom,einarmagnus/atom,oggy/atom,Austen-G/BlockBuilder,ReddTea/atom,MjAbuz/atom,jeremyramin/atom,hharchani/atom,vinodpanicker/atom,qiujuer/atom,kaicataldo/atom,andrewleverette/atom,GHackAnonymous/atom,pkdevbox/atom,jlord/atom,ilovezy/atom,hagb4rd/atom,bj7/atom,basarat/atom,sekcheong/atom,Huaraz2/atom,kevinrenaers/atom,charleswhchan/atom,tisu2tisu/atom,ObviouslyGreen/atom,john-kelly/atom,andrewleverette/atom,kaicataldo/atom,acontreras89/atom,Neron-X5/atom,charleswhchan/atom,Hasimir/atom,tjkr/atom,g2p/atom,kevinrenaers/atom,wiggzz/atom,synaptek/atom,fang-yufeng/atom,pombredanne/atom,h0dgep0dge/atom,jeremyramin/atom,prembasumatary/atom,phord/atom,ali/atom,elkingtonmcb/atom,PKRoma/atom,ironbox360/atom,burodepeper/atom,toqz/atom,woss/atom,gontadu/atom,palita01/atom,FoldingText/atom,Andrey-Pavlov/atom,bryonwinger/atom,deepfox/atom,ilovezy/atom,qiujuer/atom,einarmagnus/atom,prembasumatary/atom,dannyflax/atom,Galactix/atom,dijs/atom,liuxiong332/atom,avdg/atom,johnhaley81/atom,tmunro/atom,johnrizzo1/atom,sxgao3001/atom,atom/atom,Neron-X5/atom,darwin/atom,johnhaley81/atom,GHackAnonymous/atom,rmartin/atom,jlord/atom,charleswhchan/atom,qskycolor/atom,chengky/atom,lpommers/atom,fedorov/atom,tanin47/atom,hharchani/atom,john-kelly/atom,bryonwinger/atom,nvoron23/atom,t9md/atom,transcranial/atom,niklabh/atom,qskycolor/atom,chfritz/atom,seedtigo/atom,FoldingText/atom,Jandersolutions/atom,charleswhchan/atom,xream/atom,fang-yufeng/atom,xream/atom,me6iaton/atom,kaicataldo/atom,kjav/atom,toqz/atom,vjeux/atom,devoncarew/atom,Mokolea/atom,bsmr-x-script/atom,kittens/atom,Jonekee/atom,dkfiresky/atom,fedorov/atom,nrodriguez13/atom,Ingramz/atom,GHackAnonymous/atom,rmartin/atom,githubteacher/atom,hagb4rd/atom,ilovezy/atom,Rychard/atom,liuderchi/atom,gabrielPeart/atom,NunoEdgarGub1/atom,gzzhanghao/atom,t9md/atom,basarat/atom,bryonwinger/atom,yamhon/atom,NunoEdgarGub1/atom,jjz/atom,nvoron23/atom,lovesnow/atom,RuiDGoncalves/atom,ivoadf/atom,n-riesco/atom,rlugojr/atom,ezeoleaf/atom,yomybaby/atom,svanharmelen/atom,tony612/atom,Jandersolutions/atom,vjeux/atom,oggy/atom,rjattrill/atom,rsvip/aTom,targeter21/atom,Huaraz2/atom,nvoron23/atom,bsmr-x-script/atom,hellendag/atom,dkfiresky/atom,rxkit/atom,batjko/atom,gontadu/atom,wiggzz/atom,brumm/atom,codex8/atom,atom/atom,Hasimir/atom,harshdattani/atom,MjAbuz/atom,medovob/atom,phord/atom,codex8/atom,Jandersoft/atom,darwin/atom,me6iaton/atom,helber/atom,liuderchi/atom,jjz/atom,ardeshirj/atom,toqz/atom,devoncarew/atom,vcarrera/atom,boomwaiza/atom,Jandersolutions/atom,NunoEdgarGub1/atom,tisu2tisu/atom,alfredxing/atom,Ingramz/atom,hellendag/atom,chengky/atom,oggy/atom,toqz/atom,mdumrauf/atom,nucked/atom,jacekkopecky/atom,n-riesco/atom,Austen-G/BlockBuilder,nrodriguez13/atom,nucked/atom,alexandergmann/atom,qiujuer/atom,RobinTec/atom,decaffeinate-examples/atom,ezeoleaf/atom,ppamorim/atom,liuderchi/atom,palita01/atom,001szymon/atom,rmartin/atom,Ju2ender/atom,mostafaeweda/atom,gisenberg/atom,fedorov/atom,ali/atom,einarmagnus/atom,stuartquin/atom,tony612/atom,panuchart/atom,john-kelly/atom,vhutheesing/atom,Andrey-Pavlov/atom,ReddTea/atom,devmario/atom,russlescai/atom,chengky/atom,burodepeper/atom,Neron-X5/atom,hagb4rd/atom,RobinTec/atom,davideg/atom,Galactix/atom,Dennis1978/atom,yangchenghu/atom,basarat/atom,targeter21/atom,liuxiong332/atom,woss/atom,boomwaiza/atom,originye/atom