unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: stardiviner <numbchild@gmail.com>,
	Org-mode <emacs-orgmode@gnu.org>,
	Emacs help <help-gnu-emacs@gnu.org>
Subject: RE: make slim auto-complete work in Org-mode (delete some ac-source in Org-mode).
Date: Tue, 29 Jul 2014 20:22:54 -0700 (PDT)	[thread overview]
Message-ID: <ad16fb3a-5f7d-46a6-9f99-bf2b4285cbf6@default> (raw)
In-Reply-To: <87r413edu0.fsf@gmail.com>

> But this code will use =delq= to delete *global default* =ac-sources= too.
> But I only want to delete in Org-mode.
> So is there some other ways to do it?

`remq' is like `delq' but non-destructive - it modifies a copy.

(And `remove' is like `delete' but non-destructive.)



      reply	other threads:[~2014-07-30  3:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30  3:16 make slim auto-complete work in Org-mode (delete some ac-source in Org-mode) stardiviner
2014-07-30  3:22 ` Drew Adams [this message]

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=ad16fb3a-5f7d-46a6-9f99-bf2b4285cbf6@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=numbchild@gmail.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.
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).