What does the double minus (--) convention in function names mean in Emacs Lisp

前端 未结 2 695
小鲜肉
小鲜肉 2021-01-07 16:22

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.:

2条回答
  •  醉梦人生
    2021-01-07 17:02

    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.

提交回复
热议问题