comparison lisp/gtk-font-menu.el @ 5344:2a54dfbe434f

Don't quote keywords, they've been self-quoting for well over a decade. 2011-01-22 Aidan Kehoe <kehoea@parhasard.net> * bytecomp.el (byte-compile-setq, byte-compile-set): Remove kludge allowing keywords' values to be set, all the code that does that is gone. * cl-compat.el (elt-satisfies-test-p): * faces.el (set-face-parent): * faces.el (face-doc-string): * gtk-font-menu.el: * gtk-font-menu.el (gtk-reset-device-font-menus): * msw-font-menu.el: * msw-font-menu.el (mswindows-reset-device-font-menus): * package-get.el (package-get-installedp): * select.el (select-convert-from-image-data): * sound.el: * sound.el (load-sound-file): * x-font-menu.el (x-reset-device-font-menus-core): Don't quote keywords, they're self-quoting, and the win from backward-compatibility is sufficiently small now that the style problem overrides it.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 22 Jan 2011 23:29:25 +0000
parents b4f4e0cc90f1
children ed74d2ca7082 0af042a0c116
comparison
equal deleted inserted replaced
5343:34ab0e66aaca 5344:2a54dfbe434f
166 (vector 166 (vector
167 cache 167 cache
168 (mapcar (lambda (x) 168 (mapcar (lambda (x)
169 (vector x 169 (vector x
170 (list 'font-menu-set-font x nil nil) 170 (list 'font-menu-set-font x nil nil)
171 ':style 'radio ':active nil ':selected nil)) 171 :style 'radio :active nil :selected nil))
172 families) 172 families)
173 (mapcar (lambda (x) 173 (mapcar (lambda (x)
174 (vector (if (/= 0 (% x 10)) 174 (vector (if (/= 0 (% x 10))
175 (number-to-string (/ x 10.0)) 175 (number-to-string (/ x 10.0))
176 (number-to-string (/ x 10))) 176 (number-to-string (/ x 10)))
177 (list 'font-menu-set-font nil nil x) 177 (list 'font-menu-set-font nil nil x)
178 ':style 'radio ':active nil ':selected nil)) 178 :style 'radio :active nil :selected nil))
179 sizes) 179 sizes)
180 (mapcar (lambda (x) 180 (mapcar (lambda (x)
181 (vector x 181 (vector x
182 (list 'font-menu-set-font nil x nil) 182 (list 'font-menu-set-font nil x nil)
183 ':style 'radio ':active nil ':selected nil)) 183 :style 'radio :active nil :selected nil))
184 weights))) 184 weights)))
185 (cdr dev-cache))) 185 (cdr dev-cache)))
186 186
187 ;; Extract font information from a face. We examine both the 187 ;; Extract font information from a face. We examine both the
188 ;; user-specified font name and the canonical (`true') font name. 188 ;; user-specified font name and the canonical (`true') font name.