LINUX.ORG.RU

История изменений

Исправление Zubok, (текущая версия) :

Хотя в документяции явно описано, что функции modification-hooks вызываются с 4-мя аргументами.

В документации написано, что и с четырьмя, и с пятью:

     When called before a change, each function receives four
     arguments: the overlay, `nil', and the beginning and end of the
     text range to be modified.

     When called after a change, each function receives five arguments:
     the overlay, `t', the beginning and end of the text range just
     modified, and the length of the pre-change text replaced by that
     range. 

Исходная версия Zubok, :

Хотя в документяции явно описано, что функции modification-hooks вызываются с 4-мя аргументами.

В документации написано, что и с четырьма, и с пятью:

     When called before a change, each function receives four
     arguments: the overlay, `nil', and the beginning and end of the
     text range to be modified.

     When called after a change, each function receives five arguments:
     the overlay, `t', the beginning and end of the text range just
     modified, and the length of the pre-change text replaced by that
     range.