Stefan Monnier <monn...@iro.umontreal.ca> writes: >> (setq-local kill-line-query-function #'org-kill-line-query) > > Please use `add-function` for such things. > That's its raison d'ĂȘtre.
When comparing imaginary kill-line-query-functions (abnormal hook) + add-hook vs. kill-line-query-function + add-function, which one will be more preferred? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>