jed-users mailing list

[2014 Date Index] [2014 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] setkey and next_line_cmd (in a function sequence) yields "next_line_cmd is undefined


Parke <parke.nexus@xxxxxxxxx> wrote:
> public define global_mode_hook ( hook_name ) {
>   local_setkey ("next_line_cmd",                       "^T");
>   local_setkey ("bol;set_mark_cmd;next_line_cmd",     "^X^T");
>   ;;; }
>
> ^T works as expected, however, ^XT give as "next_line_cmd is undefined" error.

The next_line_cmd is an "internal" function, and must be "called":

  local_setkey ("bol;set_mark_cmd;call(\"next_line_cmd\")", "^X^T");

--John
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2014 date index] [2014 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]