all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: emacs-devel@gnu.org
Cc: Alan Mackenzie <acm@muc.de>
Subject: Re: [Emacs-diffs] master c1d18b1: Tidy up fix to debbugs#20240.
Date: Sun, 05 Apr 2015 23:55:08 -0400	[thread overview]
Message-ID: <jwvd23hlxmm.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <E1YellB-0008Ct-C2@vcs.savannah.gnu.org> (Alan Mackenzie's message of "Sun, 05 Apr 2015 14:42:49 +0000")

> -          (save-restriction
> -	    (widen)
> -	    (run-hook-with-args 'jit-lock-after-change-extend-region-functions
> -				start end old-len)
> -	    ;; Make sure we change at least one char (in case of deletions).
> -	    (setq jit-lock-end (min (max jit-lock-end (1+ start)) (point-max)))
> -	    ;; Request refontification.
> -	    (put-text-property jit-lock-start jit-lock-end 'fontified nil)))
> +       (run-hook-with-args 'jit-lock-after-change-extend-region-functions
> +			   start end old-len)
> +       ;; Make sure we change at least one char (in case of deletions).
> +       (setq jit-lock-end (min (max jit-lock-end (1+ start)) (point-max)))
> +       ;; Request refontification.
> +       (save-restriction
> +	 (widen)
> +	 (put-text-property jit-lock-start jit-lock-end 'fontified nil)))

Thanks, Alan,


        Stefan



           reply	other threads:[~2015-04-06  3:55 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E1YellB-0008Ct-C2@vcs.savannah.gnu.org>]

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

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

  git send-email \
    --in-reply-to=jwvd23hlxmm.fsf-monnier+emacsdiffs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=emacs-devel@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 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.