Ticket 3965: mc.ext: fix include/ sections order.

include/ sections should be placed at the end of bindings.
Thanks legends2k for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2019-02-01 20:08:35 +03:00
parent 3ac46bf2b1
commit 6f562116cc

View File

@ -115,6 +115,7 @@ regex/^\[git\]
Open=%cd %p/changesetfs:// Open=%cd %p/changesetfs://
View=%cd %p/patchsetfs:// View=%cd %p/patchsetfs://
### Archives ### ### Archives ###
# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk, .gem # .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk, .gem
@ -334,9 +335,6 @@ shell/i/.f
regex/i/\.(s|asm)$ regex/i/\.(s|asm)$
Include=editor Include=editor
include/editor
Open=%var{EDITOR:vi} %f
# .so libraries # .so libraries
regex/\.(so|so\.[0-9\.]*)$ regex/\.(so|so\.[0-9\.]*)$
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so
@ -346,6 +344,7 @@ type/^ELF
#Open=%var{PAGER:more} %f #Open=%var{PAGER:more} %f
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf
### Documentation ### ### Documentation ###
# Texinfo # Texinfo
@ -424,6 +423,7 @@ regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.zst$
shell/i/.chm shell/i/.chm
Open=@EXTHELPERSDIR@/text.sh open chm Open=@EXTHELPERSDIR@/text.sh open chm
### Images ### ### Images ###
type/^GIF type/^GIF
@ -477,10 +477,6 @@ shell/i/.svg
View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg
Open=@EXTHELPERSDIR@/image.sh open svg Open=@EXTHELPERSDIR@/image.sh open svg
include/image
Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
### Sound files ### ### Sound files ###
@ -567,10 +563,6 @@ shell/i/.webm
type/WebM type/WebM
Include=video Include=video
include/video
Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
### Documents ### ### Documents ###
@ -724,6 +716,7 @@ shell/i/.lyx
shell/i/.torrent shell/i/.torrent
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent
### Plain compressed files ### ### Plain compressed files ###
# ace # ace
@ -819,6 +812,22 @@ regex/\.zst$
type/^Parity\ Archive\ Volume\ Set type/^Parity\ Archive\ Volume\ Set
Open=@EXTHELPERSDIR@/archive.sh open par2 Open=@EXTHELPERSDIR@/archive.sh open par2
### Includes
# includes should be at end of bindings
include/editor
Open=%var{EDITOR:vi} %f
include/image
Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
include/video
Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
### Default ### ### Default ###
# Default target for anything not described above # Default target for anything not described above