unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: remove custom-set-*
Date: Wed, 22 Feb 2017 17:51:17 +0200	[thread overview]
Message-ID: <83efyqtea2.fsf@gnu.org> (raw)
In-Reply-To: <20170222123931.qfsjgtekri2nvkle@gmail.com> (message from Anast Gramm on Wed, 22 Feb 2017 14:39:31 +0200)

> Date: Wed, 22 Feb 2017 14:39:31 +0200
> From: Anast Gramm <anastasis.gramm2@gmail.com>
> 
> I want to remove custom-set-faces from the code below, but I don't know how.
> setq doesn't work, and I don't know what to try.

I think setq will work if you create the faces first (with defface or
something).  Or use setq in a hook that company provides when it is
turned on.

> Also from here, how do I remove the custom-set-variables
> 
>   (custom-set-variables
>    '(TeX-view-program-selection
>      (quote
>       (((output-dvi has-no-display-manager)
>         "dvi2tty")
>        ((output-dvi style-pstricks)
>         "dvips and gv")
>        (output-dvi "xdvi")
>        (output-pdf "Zathura")
>        (output-html "xdg-open")))))

Use setq, perhaps in the hook offered by the mode which needs the
above.



  reply	other threads:[~2017-02-22 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 12:39 remove custom-set-* Anast Gramm
2017-02-22 15:51 ` Eli Zaretskii [this message]
2017-02-24  0:18 ` Michael Heerdegen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83efyqtea2.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).