Avoid warnings about 'image-scaling-factor' in builds --without-x
* lisp/cus-start.el (standard): Exclude 'image-*' options if Emacs was built without GUI support. (Bug#76716)
This commit is contained in:
parent
c3c27e50a5
commit
bd9c76ab17
1 changed files with 2 additions and 0 deletions
|
@ -908,6 +908,8 @@ since it could result in memory overflow and make Emacs crash."
|
|||
(fboundp 'x-create-frame))
|
||||
((string-match "tab-bar-" (symbol-name symbol))
|
||||
(fboundp 'x-create-frame))
|
||||
((string-match "image-" (symbol-name symbol))
|
||||
(fboundp 'x-create-frame))
|
||||
((equal "vertical-centering-font-regexp"
|
||||
(symbol-name symbol))
|
||||
;; Any function from fontset.c will do.
|
||||
|
|
Loading…
Add table
Reference in a new issue