diff options
Diffstat (limited to 'lisp/help-mode.el')
-rw-r--r-- | lisp/help-mode.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 732e6cc28dd..025a67016b6 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -319,10 +319,10 @@ The format is (FUNCTION ARGS...).") Entry to this mode runs the normal hook `help-mode-hook'. Commands: \\{help-mode-map}" - (set (make-local-variable 'revert-buffer-function) - 'help-mode-revert-buffer) - (set (make-local-variable 'bookmark-make-record-function) - 'help-bookmark-make-record)) + (setq-local revert-buffer-function + #'help-mode-revert-buffer) + (setq-local bookmark-make-record-function + #'help-bookmark-make-record)) ;;;###autoload (defun help-mode-setup () |