unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ari Roponen <ari.roponen@gmail.com>
To: 19294@debbugs.gnu.org
Subject: bug#19294: 25.0.50; fringe-bitmap-p returns always non-nil
Date: Sun, 07 Dec 2014 12:44:21 +0200	[thread overview]
Message-ID: <87a92zd9iy.fsf@arirop.lan> (raw)


(fringe-bitmap-p 'left-arrow)
=> (get left-arrow 'fringe)

The following patch fixes the return value.

In GNU Emacs 25.0.50.13 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)
 of 2014-12-07 on arirop
Repository revision: 2b53560c75b117452c047a7ac0d00f06266b8f8d
Windowing system distributor `Fedora Project', version 11.0.11601000
System Description:	Fedora release 21 (Twenty One)


diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f695e1c..65d5f62 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-07  Ari Roponen  <ari.roponen@gmail.com>
+
+	* fringe.el (fringe-bitmap-p): Fix return value.
+
 2014-12-06  Ulf Jasper  <ulf.jasper@web.de>
 
 	* net/newst-treeview.el (newsticker--treeview-list-add-item)
diff --git a/lisp/fringe.el b/lisp/fringe.el
index 97a0393..51d6543 100644
--- a/lisp/fringe.el
+++ b/lisp/fringe.el
@@ -85,7 +85,7 @@
 
 (defun fringe-bitmap-p (symbol)
   "Return non-nil if SYMBOL is a fringe bitmap."
-  `(get ,symbol 'fringe))
+  (get symbol 'fringe))
 
 
 ;; Control presence of fringes





             reply	other threads:[~2014-12-07 10:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-07 10:44 Ari Roponen [this message]
     [not found] ` <handler.19294.B.141794909529648.ack@debbugs.gnu.org>
2014-12-14 11:07   ` bug#19294: 25.0.50; fringe-bitmap-p returns always non-nil Ari Roponen
2014-12-14 13:27     ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a92zd9iy.fsf@arirop.lan \
    --to=ari.roponen@gmail.com \
    --cc=19294@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).