Function: erc-view-mode-enter

erc-view-mode-enter is a for view-mode-enter, defined in view.el.gz.

This function is obsolete since 28.1; use view-mode-enter instead.

Signature

(erc-view-mode-enter &optional QUIT-RESTORE EXIT-ACTION)

Documentation

Enter View mode and set up exit from view mode depending on optional arguments.

Optional argument QUIT-RESTORE if non-nil must specify a valid entry for quitting and restoring any window showing the current buffer. This entry replaces any parameter installed by display-buffer and is used by view-mode-exit.

Optional argument EXIT-ACTION, if non-nil, must specify a function that takes a buffer as argument. This function will be called by view-mode-exit.

For a list of all View commands, type H or h while viewing.

This function runs the normal hook view-mode-hook.

Aliases

erc-view-mode-enter (obsolete since 28.1) mh-view-mode-enter