tags:

views:

220

answers:

1

I've been reading through a number of Emacs Lisp packages and have come across the convention of some functions being declared with -- after the library prefix, e.g.:

(defun eproject--combine-regexps (regexp-list)

I'm wondering if this a convention for declaring "private" functions to the library but so far I haven't found anything in the Emacs Coding guidelines.

+13  A: 

Emacs doesn't have any support for namespaces, packages, libraries or modules. Emacs sources therefore use foo- as a prefix for a foo library, and in some cases foo-- is used for bindings that are supposed to be internal.

Eli Barzilay
I thought it might be, but I was trying to find to documentation to point to such a convention.
stsquad