Mercurial > emacs
comparison lisp/custom.el @ 17751:01342565404e
(defcustom): Get rid of eval-and-compile.
The compiler should now handle custom-declare-variables on its own.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 12 May 1997 01:19:54 +0000 |
parents | 1cc3913deaf8 |
children | 0df9495348e7 |
comparison
equal
deleted
inserted
replaced
17750:f11a3a49088c | 17751:01342565404e |
---|---|
183 required after initialization, of the the user have saved this | 183 required after initialization, of the the user have saved this |
184 option. | 184 option. |
185 | 185 |
186 Read the section about customization in the Emacs Lisp manual for more | 186 Read the section about customization in the Emacs Lisp manual for more |
187 information." | 187 information." |
188 `(eval-and-compile | 188 `(custom-declare-variable (quote ,symbol) (quote ,value) ,doc ,@args)) |
189 (custom-declare-variable (quote ,symbol) (quote ,value) ,doc ,@args))) | |
190 | 189 |
191 ;;; The `defface' Macro. | 190 ;;; The `defface' Macro. |
192 | 191 |
193 (defmacro defface (face spec doc &rest args) | 192 (defmacro defface (face spec doc &rest args) |
194 "Declare FACE as a customizable face that defaults to SPEC. | 193 "Declare FACE as a customizable face that defaults to SPEC. |