|
From: | Tianxiang Xiong |
Subject: | Re: Coding conventions for `defface` |
Date: | Mon, 3 Apr 2017 00:58:22 -0700 |
On 2 April 2017 at 03:15, Tianxiang Xiong <address@hidden> wrote:Many faces in Emacs Lisp end in `-face`, even though the Emacs Lisp manual section on `defface` says that they shouldn't: https://www.gnu.org/software/emacs/manual/html_ node/elisp/Defining-Faces.html One problem is that this convention is not mentioned in the Emacs Lisp Coding Conventions section of the manual: https://www.gnu.org/software/emacs/manual/html_node/ elisp/Coding-Conventions.html# FOOT21 Perhaps ‘defface’ itself could warn if it's being called with a name that ends with -face?
[Prev in Thread] | Current Thread | [Next in Thread] |