emacs: Link against gnutls and libxml2
[termux-packages] / packages / emacs / lisp-loadup.el.patch.beforehostbuild
1 diff -u -r ../emacs-25.0.92/lisp/loadup.el ./lisp/loadup.el
2 --- ../emacs-25.0.92/lisp/loadup.el 2016-03-02 05:21:42.000000000 -0500
3 +++ ./lisp/loadup.el 2016-03-31 18:41:25.609790054 -0400
4 @@ -1,3 +1,7 @@
5 +;; Termux patch: See
6 +;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-03/msg00471.html
7 +(setq-default bidi-display-reordering nil)
8 +
9 ;;; loadup.el --- load up standardly loaded Lisp files for Emacs
10
11 ;; Copyright (C) 1985-1986, 1992, 1994, 2001-2016 Free Software
12 @@ -69,7 +73,8 @@
13
14 ;; Prevent build-time PATH getting stored in the binary.
15 ;; Mainly cosmetic, but helpful for Guix. (Bug#20330)
16 -(setq exec-path nil)
17 +;; Termux patch: Keep exec-path when running undumped:
18 +;; (setq exec-path nil)
19
20 (if (eq t purify-flag)
21 ;; Hash consing saved around 11% of pure space in my tests.
22 @@ -110,6 +115,12 @@
23 (load "format")
24 (load "bindings")
25 (load "window") ; Needed here for `replace-buffer-in-windows'.
26 +;; Termux patch: See
27 +;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-03/msg00679.html
28 +;; We are now capable of resizing the mini-windows, so give the
29 +;; variable its advertised default value (it starts as nil, see
30 +;; xdisp.c).
31 +(setq resize-mini-windows 'grow-only)
32 (setq load-source-file-function 'load-with-code-conversion)
33 (load "files")
34
35 @@ -465,3 +476,7 @@
36 ;; End:
37
38 ;;; loadup.el ends here
39 +
40 +;; Termux patch: See
41 +;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-03/msg00471.html
42 +(setq-default bidi-display-reordering t)