all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Change font for buffer
Date: Sat, 22 Jun 2024 19:08:31 +0300	[thread overview]
Message-ID: <868qyxgdts.fsf@gnu.org> (raw)
In-Reply-To: <9d8HOd29wT5W0-63VK1H6yFR5TP_Dj_c_PTSku11k8IOLFQqf5h8FQBIYBv_lb90pTumGlVvlcweq6_7PFxmL2yKIxsA_eVm72qvOeqjs8U=@protonmail.com> (message from Heime on Sat, 22 Jun 2024 15:19:14 +0000)

> Date: Sat, 22 Jun 2024 15:19:14 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> > > What is the difference to using this instead ?
> > > 
> > > (set-face-attribute 'default nil :font "URW Chancery L-12")
> > 
> > 
> > It isn't buffer-local, and you wanted the change for a specific
> > buffer, AFAIU.
> 
> Have looked at the docstring, but it is not very clear to me how to call it
> exactly.
> 
> (buffer-face-mode-invoke "URW Chancery L-12" t)

Try

  (buffer-face-mode-invoke '(:family "URW Chancery L-12") t)



  reply	other threads:[~2024-06-22 16:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-21 21:49 Change font for buffer Heime
2024-06-22  1:41 ` Heime
2024-06-22  7:07 ` Eli Zaretskii
2024-06-22  9:05   ` Heime
2024-06-22  9:52     ` Eli Zaretskii
2024-06-22 10:38       ` Heime
2024-06-22 10:54         ` Eli Zaretskii
2024-06-22 15:19           ` Heime
2024-06-22 16:08             ` Eli Zaretskii [this message]
2024-06-22 19:47               ` Heime
2024-06-23  0:10                 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-06-23  4:34                 ` Eli Zaretskii

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=868qyxgdts.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.