- Subject: Re: _jed_set_mode_hooks not called by compression mode
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Sat, 8 Apr 2006 23:37:22 -0400
Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>private define mode_selection(ext)
>{
> variable tmp = buffer_filename();
> if (orelse {is_substr(tmp, "/changelog.Debian")}
> {andelse {strlen(tmp) > 17}
> {strcmp(tmp[[-17:]], "/debian/changelog") == 0}
> } )
> {
> deb_mode();
> return 1;
> }
You need to add:
return 0;
here.
>}
[...]
>The patch below is more like a quick hack, because I did not have any
>idea how to solve it otherwise. But it works :-)
I will try to solve it at the C-level in the upcoming patch.
Thanks,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]