* doc/lispref/backups.texi (Reverting): Add documentation for 'revert-buffer-restore-functions'. * lisp/files.el (revert-buffer-restore-functions): New variable. (revert-buffer-restore-read-only): New function. (revert-buffer): Use 'revert-buffer-restore-functions' with the default value 'revert-buffer-restore-read-only' (bug#69511). * lisp/buff-menu.el (Buffer-menu-mode): Add hook 'revert-buffer-restore-functions' to restore outline-minor-mode highlighting.
34 KiB
34 KiB