unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68451: [PATCH] Fix documentation of icon-elements
       [not found] <m1cyu4x9ju.fsf.ref@yahoo.es>
@ 2024-01-14 14:40 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-01-14 15:04   ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-01-14 14:40 UTC (permalink / raw)
  To: 68451

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]

Tags: patch


This patch fixes a typo in the documentation of the icon-elements
function.  Thanks.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-documentation-of-icon-elements.patch --]
[-- Type: text/patch, Size: 1001 bytes --]

From 4a97cbcbcf8d8a523deafb52f67a2fb9554e7a80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <mardani29@yahoo.es>
Date: Sun, 14 Jan 2024 15:36:16 +0100
Subject: [PATCH] Fix documentation of icon-elements

* lisp/emacs-lisp/icons.el (icon-elements): The plist key it returns
is `image', not `display'.
---
 lisp/emacs-lisp/icons.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/icons.el b/lisp/emacs-lisp/icons.el
index 1fc0e39f9fe..f9591661688 100644
--- a/lisp/emacs-lisp/icons.el
+++ b/lisp/emacs-lisp/icons.el
@@ -164,7 +164,7 @@ icon-string
 (defun icon-elements (name)
   "Return the elements of icon NAME.
 The elements are represented as a plist where the keys are
-`string', `face' and `display'.  The `image' element is only
+`string', `face' and `image'.  The `image' element is only
 present if the icon is represented by an image."
   (let ((string (icon-string name)))
     (list 'face (get-text-property 0 'face string)
-- 
2.42.0


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

* bug#68451: [PATCH] Fix documentation of icon-elements
  2024-01-14 14:40 ` bug#68451: [PATCH] Fix documentation of icon-elements Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-01-14 15:04   ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-01-14 15:04 UTC (permalink / raw)
  To: Daniel Martín; +Cc: 68451-done

> Date: Sun, 14 Jan 2024 15:40:37 +0100
> From:  Daniel Martín via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> This patch fixes a typo in the documentation of the icon-elements
> function.  Thanks.

Thanks, fixed on the emacs-29 branch, and closing the bug.





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

end of thread, other threads:[~2024-01-14 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m1cyu4x9ju.fsf.ref@yahoo.es>
2024-01-14 14:40 ` bug#68451: [PATCH] Fix documentation of icon-elements Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-14 15:04   ` Eli Zaretskii

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).