unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36120: [PATCH] Suppress compiler warning in paragraphs.el
@ 2019-06-06 20:00 Stefan Kangas
  2019-06-09 17:14 ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Kangas @ 2019-06-06 20:00 UTC (permalink / raw)
  To: 36120

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

Just a small patch to pacify the byte compiler after adding
lexical-binding to paragraphs.el.

Thanks,
Stefan Kangas

[-- Attachment #2: 0001-Pacify-compiler-in-paragraphs.el-after-lexical-bindi.patch --]
[-- Type: text/x-patch, Size: 855 bytes --]

From 506c3e3932c995953f8691c9618ecc2bc537352a Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Thu, 6 Jun 2019 21:57:19 +0200
Subject: [PATCH] Pacify compiler in paragraphs.el after lexical-binding

* lisp/textmodes/paragraphs.el: Pacify byte compiler.
---
 lisp/textmodes/paragraphs.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index d0fab36599..1d12e53c10 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -208,6 +208,9 @@ paragraph-ignore-fill-prefix
   :type 'boolean)
 (put 'paragraph-ignore-fill-prefix 'safe-local-variable 'booleanp)
 
+;; Silence the compiler.
+(defvar multiple-lines)
+
 (defun forward-paragraph (&optional arg)
   "Move forward to end of paragraph.
 With argument ARG, do it ARG times;
-- 
2.11.0


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

* bug#36120: [PATCH] Suppress compiler warning in paragraphs.el
  2019-06-06 20:00 bug#36120: [PATCH] Suppress compiler warning in paragraphs.el Stefan Kangas
@ 2019-06-09 17:14 ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2019-06-09 17:14 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 36120-done

Thanks, I installed that one too.





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

end of thread, other threads:[~2019-06-09 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 20:00 bug#36120: [PATCH] Suppress compiler warning in paragraphs.el Stefan Kangas
2019-06-09 17:14 ` Paul Eggert

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