diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-26 17:02:52 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-26 17:02:52 +0200 |
commit | 6a067829600b7b2f780d53202cdd618b4dc81fd9 (patch) | |
tree | 4baaea858844bbd94e1011249ccc2cb2fb6697b7 /lisp/cus-start.el | |
parent | 18718fee7222dc32b30b7be2e443022db5d82f67 (diff) | |
download | emacs-6a067829600b7b2f780d53202cdd618b4dc81fd9.tar.gz emacs-6a067829600b7b2f780d53202cdd618b4dc81fd9.tar.bz2 emacs-6a067829600b7b2f780d53202cdd618b4dc81fd9.zip |
Fix defcustom types of some variables defined in C
* lisp/cus-start.el (standard): Fix the defcustom type of a number
of variables defined in C (bug#43611).
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r-- | lisp/cus-start.el | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index f5b70e082a5..3fd6ac031c0 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -73,9 +73,11 @@ '(choice (const :tag "Frame default" t) (const :tag "Filled box" box) + (cons :tag "Box with specified size" + (const box) integer) (const :tag "Hollow cursor" hollow) (const :tag "Vertical bar" bar) - (cons :tag "Vertical bar with specified width" + (cons :tag "Vertical bar with specified height" (const bar) integer) (const :tag "Horizontal bar" hbar) (cons :tag "Horizontal bar with specified width" @@ -627,7 +629,9 @@ since it could result in memory overflow and make Emacs crash." (scroll-margin windows integer) (maximum-scroll-margin windows float "26.1") (hscroll-margin windows integer "22.1") - (hscroll-step windows number "22.1") + (hscroll-step windows + (choice (const :tag "Center horizontally" nil) + number) "22.1") (truncate-partial-width-windows display (choice (integer :tag "Truncate if narrower than") @@ -787,7 +791,11 @@ since it could result in memory overflow and make Emacs crash." "27.1" :safe (lambda (value) (or (characterp value) (null value)))) ;; xfaces.c - (scalable-fonts-allowed display boolean "22.1") + (scalable-fonts-allowed + display (choice (const :tag "Don't allow scalable fonts" nil) + (const :tag "Allow any scalable font" t) + (repeat regexp)) + "22.1") ;; xfns.c (x-bitmap-file-path installation (repeat (directory :format "%v"))) |