unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14209: 24.3.50; read-face-name: M-o o hi-yellow fails
@ 2013-04-15 17:14 Jambunathan K
  2013-04-20 17:41 ` Roland Winkler
  0 siblings, 1 reply; 2+ messages in thread
From: Jambunathan K @ 2013-04-15 17:14 UTC (permalink / raw)
  To: 14209


M-o o hi-yellow fails with

,----
| Debugger entered--Lisp error: (wrong-type-argument stringp (hi-yellow))
|   intern((hi-yellow))
|   facemenu-add-new-face((hi-yellow))
|   facemenu-set-face((hi-yellow) nil nil)
|   call-interactively(facemenu-set-face nil nil)
|   command-execute(facemenu-set-face)
`----

The following fix works.

,----  Towards the end of `read-face-name'
| 
|     ;; Return either a list of faces or just one face.
|     (if multiple
|         (nreverse faces)
|       (car (last faces)))   <===== FIXME: `car' is necessary
`----


In GNU Emacs 24.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-04-15 on debian-6.05
Bzr revision: 112293 michael.albinus@gmx.de-20130415134229-gwd6enp86q5a24fd
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-20 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 17:14 bug#14209: 24.3.50; read-face-name: M-o o hi-yellow fails Jambunathan K
2013-04-20 17:41 ` Roland Winkler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).