emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xwidget.el: call set-window-buffer after xwidget-webkit-mode


From: Po Lu
Subject: Re: [PATCH] xwidget.el: call set-window-buffer after xwidget-webkit-mode.
Date: Tue, 09 Nov 2021 15:29:05 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

tumashu  <tumashu@163.com> writes:

> I just want to the below setting work :-)
>
> (defun eh-xwidget-webkit-mode-hook ()
>   (setq-local left-fringe-width 1)
>   (setq-local right-fringe-width 1)
>   (setq-local header-line-format nil)
>   (setq-local mode-line-format '("★★★ " mode-line-buffer-identification)))
>
> (add-hook 'xwidget-webkit-mode-hook #'eh-xwidget-webkit-mode-hook)

Can't you call `set-window-buffer' inside the hook function?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]