jed-users mailing list

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

[jed-users] Re: A few offers and a question


Nicholas Christopoulos <nikosc@xxxxxxxxxxx> wrote:

> # Questions
> 
> 1. How can I add hook at modelines ?

Hi Nicholas,

Unless I misunderstand your question, you may use a mode_hook in your
.jedrc. and also call other hooks from in there:

  define text_mode_hook ()
  {
    WRAP = 78;
  	add_to_hook ("_jed_exit_hooks", &my_exit_hook);
  }
	
Was this what you were after?

Regards,
Morten

_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


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