all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#33807: [PATCH] Make byte compiler accept single-argument `substring' invocations
@ 2018-12-19 21:36 Paul Pogonyshev
  2018-12-28  4:27 ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Pogonyshev @ 2018-12-19 21:36 UTC (permalink / raw)
  To: 33807


[-- Attachment #1.1: Type: text/plain, Size: 33 bytes --]

Trivial patch is attached.

Paul

[-- Attachment #1.2: Type: text/html, Size: 93 bytes --]

[-- Attachment #2: 0001-Make-byte-compiler-accept-single-argument-substring-.patch --]
[-- Type: text/x-patch, Size: 945 bytes --]

From 01f1a9fd22c24dde4c5ddae595779f29fb4fa2d8 Mon Sep 17 00:00:00 2001
From: Paul Pogonyshev <pogonyshev@gmail.com>
Date: Wed, 19 Dec 2018 22:33:09 +0100
Subject: [PATCH] Make byte compiler accept single-argument `substring'
 invocations

Those are supported by function implementation since commit
fbc87aeaaf.
---
 lisp/emacs-lisp/bytecomp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 0b8f8824b4..4f05f48aaa 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -3514,7 +3514,7 @@ byte-defop-compiler-1
 (byte-defop-compiler (>= byte-geq)	2-and)
 (byte-defop-compiler get		2)
 (byte-defop-compiler nth		2)
-(byte-defop-compiler substring		2-3)
+(byte-defop-compiler substring		1-3)
 (byte-defop-compiler (move-marker byte-set-marker) 2-3)
 (byte-defop-compiler set-marker	2-3)
 (byte-defop-compiler match-beginning	1)
-- 
2.18.0


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

* bug#33807: [PATCH] Make byte compiler accept single-argument `substring' invocations
  2018-12-19 21:36 bug#33807: [PATCH] Make byte compiler accept single-argument `substring' invocations Paul Pogonyshev
@ 2018-12-28  4:27 ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2018-12-28  4:27 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 33807-done

Thanks, I tweaked the commit message and installed that patch in your name into 
the master branch.





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

end of thread, other threads:[~2018-12-28  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-19 21:36 bug#33807: [PATCH] Make byte compiler accept single-argument `substring' invocations Paul Pogonyshev
2018-12-28  4:27 ` Paul Eggert

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.