all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: tumashu <tumashu@163.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: [PATCH] xwidget.el: call set-window-buffer after xwidget-webkit-mode.
Date: Tue, 09 Nov 2021 15:29:05 +0800	[thread overview]
Message-ID: <87r1bp948u.fsf@yahoo.com> (raw)
In-Reply-To: <1b9bd069.3f81.17d0396a22c.Coremail.tumashu@163.com> (tumashu@163.com's message of "Tue, 9 Nov 2021 15:25:43 +0800 (CST)")

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	other threads:[~2021-11-09  7:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09  6:00 [PATCH] xwidget.el: call set-window-buffer after xwidget-webkit-mode tumashu
2021-11-09  7:13 ` Po Lu
2021-11-09  7:25   ` tumashu
2021-11-09  7:29     ` Po Lu [this message]
2021-11-09  7:44       ` tumashu
2021-11-09  7:48         ` Po Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1bp948u.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=tumashu@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.