emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`purecopy' usage in ruby-mode.el and python.el


From: Dmitry Gutov
Subject: `purecopy' usage in ruby-mode.el and python.el
Date: Wed, 26 Dec 2012 17:53:02 -0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hi all,

I see some places in the above files where purecopy is called. But:

  Pure storage is allocated only while temacs is loading the standard
  preloaded Lisp libraries.

  (...)
  
  — Function: purecopy object (...)
  
  This function is a no-op except while Emacs is being built and dumped;
  it is usually called only in preloaded Lisp files.

I take this to mean that `purecopy' can only be useful in elisp files
that Emacs preloads during compilation, but not in ruby-mode, python, or
any third-party libraries. Is that true?

Can we remove its uses from non-preloaded packages?

--Dmitry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]