Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/auctex/files: auctex-11.87-jit-lock.patch
Date: Fri, 23 May 2014 18:00:41
Message-Id: 20140523180037.D16322004E@flycatcher.gentoo.org
1 ulm 14/05/23 18:00:37
2
3 Added: auctex-11.87-jit-lock.patch
4 Log:
5 Fix incompatibility with jit-lock in Emacs 24.4. Patch from upstream.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
8
9 Revision Changes Path
10 1.1 app-emacs/auctex/files/auctex-11.87-jit-lock.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/auctex/files/auctex-11.87-jit-lock.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/auctex/files/auctex-11.87-jit-lock.patch?rev=1.1&content-type=text/plain
14
15 Index: auctex-11.87-jit-lock.patch
16 ===================================================================
17 commit 5b5ef6eeb0468c273a329a05d31b3788fd46b5d7
18 Author: Mosè Giordano <giordano.mose@××××××.it>
19 Date: Sun May 12 12:01:37 2013 +0200
20
21 Temporary fix for font-latex-jit-lock-force-redisplay.
22
23 * font-latex.el (font-latex-jit-lock-force-redisplay): Don't rely
24 on existing `jit-lock-force-redisplay' because recent bzr Emacs
25 broke compatibility changing the number of arguments. Reported by
26 Robert Goldman.
27
28 --- auctex-11.87-orig/font-latex.el
29 +++ auctex-11.87/font-latex.el
30 @@ -1220,8 +1220,6 @@
31
32 (defun font-latex-jit-lock-force-redisplay (buf start end)
33 "Compatibility for Emacsen not offering `jit-lock-force-redisplay'."
34 - (if (fboundp 'jit-lock-force-redisplay)
35 - (jit-lock-force-redisplay buf start end)
36 ;; The following block is an expansion of `jit-lock-force-redisplay'
37 ;; and involved macros taken from CVS Emacs on 2007-04-28.
38 (with-current-buffer buf
39 @@ -1236,7 +1234,7 @@
40 buffer-file-truename)
41 (put-text-property start end 'fontified t))
42 (unless modified
43 - (restore-buffer-modified-p nil)))))))
44 + (restore-buffer-modified-p nil))))))
45
46 (defun font-latex-fontify-region (beg end &optional loudly)
47 "Fontify region from BEG to END.