all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs24 - Duplicates in Info-default-directory-list
@ 2011-08-15 21:37 Rene
  2011-08-16 10:06 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Rene @ 2011-08-15 21:37 UTC (permalink / raw)
  To: help-gnu-emacs

I just compiled and installed Emacs "24.0.50.1" in my ubuntu distro.

It turns out the `Info-default-directory-list' variable holds duplicates.  For
instance "/usr/local/share/info" appears twice.

How can I configure emacs so that no duplicates get inserted in this variable?

Of course I can always (delete-dups Info-default-directory-list) but I'd rather
generate a clean version of Emacs24.

Thanks for your help.

--
Rene





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Emacs24 - Duplicates in Info-default-directory-list
  2011-08-15 21:37 Emacs24 - Duplicates in Info-default-directory-list Rene
@ 2011-08-16 10:06 ` Tassilo Horn
  0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2011-08-16 10:06 UTC (permalink / raw)
  To: help-gnu-emacs

Rene <jlr_0@yahoo.com> writes:

> It turns out the `Info-default-directory-list' variable holds
> duplicates.  For instance "/usr/local/share/info" appears twice.
>
> How can I configure emacs so that no duplicates get inserted in this
> variable?
>
> Of course I can always (delete-dups Info-default-directory-list) but
> I'd rather generate a clean version of Emacs24.

Most likely, some ubuntu config in site-lisp or so uses something like

  (setq Info-default-directory-list
        (cons "/usr/local/share/info"
              Info-default-directory-list))

instead of using `add-to-list', which won't create dulicates.

Bye,
Tassilo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-16 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 21:37 Emacs24 - Duplicates in Info-default-directory-list Rene
2011-08-16 10:06 ` Tassilo Horn

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.