aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-10-12 15:56:45 -0700
committerGlenn Morris2014-10-12 15:56:45 -0700
commitb1d5ab0352b6132eee4feaf9091ce7dc7a3e6a84 (patch)
treedf2e6708c30f53f071bd824c49c7f00dfbe0ffba
parentec11ab9b783fc1f2c0ce858a711baa5f728c238b (diff)
parente175fabcdd37f89db13ab90615cf0baa7bade4d9 (diff)
downloademacs-b1d5ab0352b6132eee4feaf9091ce7dc7a3e6a84.tar.gz
emacs-b1d5ab0352b6132eee4feaf9091ce7dc7a3e6a84.zip
Merge from emacs-24; up to 2014-07-26T11:58:24Z!schwab@linux-m68k.org
-rw-r--r--ChangeLog5
-rw-r--r--admin/make-tarball.txt6
-rw-r--r--configure.ac2
-rw-r--r--doc/emacs/help.texi2
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/control.texi14
-rw-r--r--doc/lispref/elisp.texi2
-rw-r--r--doc/misc/org.texi3
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/org/ChangeLog12
-rw-r--r--lisp/org/org-agenda.el4
-rw-r--r--lisp/org/org-version.el4
-rw-r--r--lisp/org/org.el21
-rw-r--r--lisp/org/ox-publish.el6
-rw-r--r--lisp/org/ox.el5
-rw-r--r--lisp/progmodes/bat-mode.el4
-rw-r--r--lisp/progmodes/prolog.el2
-rw-r--r--lisp/progmodes/python.el8
-rw-r--r--src/ChangeLog10
-rw-r--r--src/ChangeLog.112
-rw-r--r--src/frame.c13
-rw-r--r--src/process.c3
22 files changed, 104 insertions, 40 deletions
diff --git a/ChangeLog b/ChangeLog
index 42e53b1fc76..ef58145f368 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12014-10-12 Ken Brown <kbrown@cornell.edu>
2
3 * configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size
4 to 8 MB. (Bug#18438)
5
12014-10-12 Jan Djärv <jan.h.d@swipnet.se> 62014-10-12 Jan Djärv <jan.h.d@swipnet.se>
2 7
3 * configure.ac: Require OSX 10.6. Remove NSInteger test, 8 * configure.ac: Require OSX 10.6. Remove NSInteger test,
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt
index a2e8a9e7da3..c15db52d472 100644
--- a/admin/make-tarball.txt
+++ b/admin/make-tarball.txt
@@ -149,13 +149,15 @@ General steps (for each step, check for possible errors):
149 149
15011. Send an announcement to: emacs-devel, and bcc: info-gnu-emacs@gnu.org. 15011. Send an announcement to: emacs-devel, and bcc: info-gnu-emacs@gnu.org.
151 For a pretest, also bcc: platform-testers@gnu.org. 151 For a pretest, also bcc: platform-testers@gnu.org.
152 For a release, also bcc: info-gnu@gnu.org.
152 (The reason for using bcc: is to make it less likely that people 153 (The reason for using bcc: is to make it less likely that people
153 will followup on the wrong list.) 154 will followup on the wrong list.)
154 See the info-gnu-emacs mailing list archives for the form 155 See the info-gnu-emacs mailing list archives for the form
155 of past announcements. The first pretest announcement, and the 156 of past announcements. The first pretest announcement, and the
156 release announcement, should have more detail. 157 release announcement, should have more detail.
157 158
15812. For a release, update the Emacs homepage in the web repository. 15912. For a release, update the Emacs homepage emacs.html in the web repository.
159 Also update history.html, and add the new NEWS file as NEWS.xx.y. 160 Also update history.html, and add the new NEWS file as news/NEWS.xx.y.
160 Regenerate the html manuals (use make-manuals from admin.el). 161 Regenerate the html manuals (use make-manuals from admin.el).
161 If there are new manuals, add appropriate index pages. 162 If there are new manuals, add appropriate index pages.
163 Delete any old manual pages that are no longer present.
diff --git a/configure.ac b/configure.ac
index fcbc2367ad4..a2badf0f91c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4870,6 +4870,8 @@ fi
4870case "$opsys" in 4870case "$opsys" in
4871 aix4-2) LD_SWITCH_SYSTEM_TEMACS="-Wl,-bnodelcsect" ;; 4871 aix4-2) LD_SWITCH_SYSTEM_TEMACS="-Wl,-bnodelcsect" ;;
4872 4872
4873 cygwin) LD_SWITCH_SYSTEM_TEMACS="-Wl,-stack,0x00800000" ;;
4874
4873 darwin) 4875 darwin)
4874 ## The -headerpad option tells ld (see man page) to leave room at the 4876 ## The -headerpad option tells ld (see man page) to leave room at the
4875 ## end of the header for adding load commands. Needed for dumping. 4877 ## end of the header for adding load commands. Needed for dumping.
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi
index 10b5fcfb095..22bebed87df 100644
--- a/doc/emacs/help.texi
+++ b/doc/emacs/help.texi
@@ -129,7 +129,7 @@ Display news of recent Emacs changes (@code{view-emacs-news}).
129Find packages by topic keyword (@code{finder-by-keyword}). This lists 129Find packages by topic keyword (@code{finder-by-keyword}). This lists
130packages using a package menu buffer. @xref{Packages}. 130packages using a package menu buffer. @xref{Packages}.
131@item C-h P @var{package} @key{RET} 131@item C-h P @var{package} @key{RET}
132Display documentation about the package named @var{package} 132Display documentation about the specified package
133(@code{describe-package}). 133(@code{describe-package}).
134@item C-h r 134@item C-h r
135Display the Emacs manual in Info (@code{info-emacs-manual}). 135Display the Emacs manual in Info (@code{info-emacs-manual}).
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index ba95d11399a..8ec524cc534 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12014-10-12 Glenn Morris <rgm@gnu.org>
2
3 * elisp.texi (DATE): Bump to October 2014.
4
12014-10-09 Glenn Morris <rgm@gnu.org> 52014-10-09 Glenn Morris <rgm@gnu.org>
2 6
3 * frames.texi (Multiple Terminals): Copyedits. 7 * frames.texi (Multiple Terminals): Copyedits.
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 08d2ff35a6a..5cf6368db52 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -328,13 +328,13 @@ lexical binding):
328@example 328@example
329(defun evaluate (exp env) 329(defun evaluate (exp env)
330 (pcase exp 330 (pcase exp
331 (`(add ,x ,y) (+ (evaluate x env) (evaluate y env))) 331 (`(add ,x ,y) (+ (evaluate x env) (evaluate y env)))
332 (`(call ,fun ,arg) (funcall (evaluate fun env) (evaluate arg env))) 332 (`(call ,fun ,arg) (funcall (evaluate fun env) (evaluate arg env)))
333 (`(fn ,arg ,body) (lambda (val) 333 (`(fn ,arg ,body) (lambda (val)
334 (evaluate body (cons (cons arg val) env)))) 334 (evaluate body (cons (cons arg val) env))))
335 ((pred numberp) exp) 335 ((pred numberp) exp)
336 ((pred symbolp) (cdr (assq exp env))) 336 ((pred symbolp) (cdr (assq exp env)))
337 (_ (error "Unknown expression %S" exp)))) 337 (_ (error "Unknown expression %S" exp))))
338@end example 338@end example
339 339
340Where @code{`(add ,x ,y)} is a pattern that checks that @code{exp} is a three 340Where @code{`(add ,x ,y)} is a pattern that checks that @code{exp} is a three
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index 937345f21e4..fa665da34a4 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -56,7 +56,7 @@
56@c (See comments for EDITION in emacs.texi) 56@c (See comments for EDITION in emacs.texi)
57@set VERSION 3.1 57@set VERSION 3.1
58@include emacsver.texi 58@include emacsver.texi
59@set DATE January 2013 59@set DATE October 2014
60 60
61@c in general, keep the following line commented out, unless doing a 61@c in general, keep the following line commented out, unless doing a
62@c copy of this manual that will be published. The manual should go 62@c copy of this manual that will be published. The manual should go
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index cab8a811e6e..2af44239e8d 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -2,7 +2,8 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/org.info 3@setfilename ../../info/org.info
4@settitle The Org Manual 4@settitle The Org Manual
5@set VERSION 8.2.8 5
6@set VERSION 8.2.9
6 7
7@c Version and Contact Info 8@c Version and Contact Info
8@set MAINTAINERSITE @uref{http://orgmode.org,maintainers web page} 9@set MAINTAINERSITE @uref{http://orgmode.org,maintainers web page}
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b07a6b0d851..41c68d7fbee 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,15 @@
12014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 Fix import completion. (Bug#18582)
4 * progmodes/python.el (python-shell-completion-get-completions):
5 Fix import case regexp.
6
72014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
10 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
11 * progmodes/prolog.el (prolog-electric--underscore): Same.
12
12014-10-12 Michael Albinus <michael.albinus@gmx.de> 132014-10-12 Michael Albinus <michael.albinus@gmx.de>
2 14
3 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid". 15 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index 5a8a9b250a1..38e2eb7a96f 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,15 @@
12014-10-12 Christopher Schmidt <ch@ristopher.com>
2
3 * org.el (orgstruct-make-binding): Do not use loop in interpreted code.
4
52014-10-12 Mike McLean <mike.mclean@pobox.com> (tiny change)
6
7 * org-agenda.el (org-agenda-time-grid): Change docstring.
8
92014-10-12 Nicolas Goaziou <mail@nicolasgoaziou.fr>
10
11 * ox.el (org-export-async-start): Allow to use symbols as function.
12
12014-10-03 Achim Gratz <Stromeko@Stromeko.DE> 132014-10-03 Achim Gratz <Stromeko@Stromeko.DE>
2 14
3 * ob-sh.el (org-babel-sh-initiate-session): After initiating a 15 * ob-sh.el (org-babel-sh-initiate-session): After initiating a
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index 6f9db514d43..c11c1c8ba41 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -1472,6 +1472,7 @@ symbols specifying conditions when the grid should be displayed:
1472 weekly if the agenda shows an entire week 1472 weekly if the agenda shows an entire week
1473 today show grid on current date, independent of daily/weekly display 1473 today show grid on current date, independent of daily/weekly display
1474 require-timed show grid only if at least one item has a time specification 1474 require-timed show grid only if at least one item has a time specification
1475 remove-match skip grid times already present in an entry
1475 1476
1476The second item is a string which will be placed behind the grid time. 1477The second item is a string which will be placed behind the grid time.
1477 1478
@@ -5088,8 +5089,7 @@ of what a project is and how to check if it stuck, customize the variable
5088 "Get the (Emacs Calendar) diary entries for DATE." 5089 "Get the (Emacs Calendar) diary entries for DATE."
5089 (require 'diary-lib) 5090 (require 'diary-lib)
5090 (let* ((diary-fancy-buffer "*temporary-fancy-diary-buffer*") 5091 (let* ((diary-fancy-buffer "*temporary-fancy-diary-buffer*")
5091 (diary-display-hook '(fancy-diary-display)) 5092 (diary-display-function 'diary-fancy-display)
5092 (diary-display-function 'fancy-diary-display)
5093 (pop-up-frames nil) 5093 (pop-up-frames nil)
5094 (diary-list-entries-hook 5094 (diary-list-entries-hook
5095 (cons 'org-diary-default-entry diary-list-entries-hook)) 5095 (cons 'org-diary-default-entry diary-list-entries-hook))
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el
index b96025785c2..aae65cc6d37 100644
--- a/lisp/org/org-version.el
+++ b/lisp/org/org-version.el
@@ -5,13 +5,13 @@
5(defun org-release () 5(defun org-release ()
6 "The release version of org-mode. 6 "The release version of org-mode.
7 Inserted by installing org-mode or when a release is made." 7 Inserted by installing org-mode or when a release is made."
8 (let ((org-release "8.2.8")) 8 (let ((org-release "8.2.10"))
9 org-release)) 9 org-release))
10;;;###autoload 10;;;###autoload
11(defun org-git-version () 11(defun org-git-version ()
12 "The Git version of org-mode. 12 "The Git version of org-mode.
13 Inserted by installing org-mode or when a release is made." 13 Inserted by installing org-mode or when a release is made."
14 (let ((org-git-version "release_8.2.8")) 14 (let ((org-git-version "release_8.2.10"))
15 org-git-version)) 15 org-git-version))
16 16
17(provide 'org-version) 17(provide 'org-version)
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 05a26a80cbe..1604241f6b3 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -9099,14 +9099,16 @@ if `orgstruct-heading-prefix-regexp' is not empty."
9099 (if fallback 9099 (if fallback
9100 (let* ((orgstruct-mode) 9100 (let* ((orgstruct-mode)
9101 (binding 9101 (binding
9102 (loop with key = ,key 9102 (let ((key ,key))
9103 for rep in 9103 (catch 'exit
9104 '(nil 9104 (dolist
9105 ("<\\([^>]*\\)tab>" . "\\1TAB") 9105 (rep
9106 ("<\\([^>]*\\)return>" . "\\1RET") 9106 '(nil
9107 ("<\\([^>]*\\)escape>" . "\\1ESC") 9107 ("<\\([^>]*\\)tab>" . "\\1TAB")
9108 ("<\\([^>]*\\)delete>" . "\\1DEL")) 9108 ("<\\([^>]*\\)return>" . "\\1RET")
9109 do 9109 ("<\\([^>]*\\)escape>" . "\\1ESC")
9110 ("<\\([^>]*\\)delete>" . "\\1DEL"))
9111 nil)
9110 (when rep 9112 (when rep
9111 (setq key (read-kbd-macro 9113 (setq key (read-kbd-macro
9112 (let ((case-fold-search)) 9114 (let ((case-fold-search))
@@ -9114,7 +9116,8 @@ if `orgstruct-heading-prefix-regexp' is not empty."
9114 (car rep) 9116 (car rep)
9115 (cdr rep) 9117 (cdr rep)
9116 (key-description key)))))) 9118 (key-description key))))))
9117 thereis (key-binding key)))) 9119 (when (key-binding key)
9120 (throw 'exit (key-binding key))))))))
9118 (if (keymapp binding) 9121 (if (keymapp binding)
9119 (org-set-transient-map binding) 9122 (org-set-transient-map binding)
9120 (let ((func (or binding 9123 (let ((func (or binding
diff --git a/lisp/org/ox-publish.el b/lisp/org/ox-publish.el
index 1dc790daf37..efc70d22a83 100644
--- a/lisp/org/ox-publish.el
+++ b/lisp/org/ox-publish.el
@@ -881,7 +881,7 @@ publishing will be done asynchronously, in another process."
881 ;; project is still a string here. 881 ;; project is still a string here.
882 (list (assoc project org-publish-project-alist))))) 882 (list (assoc project org-publish-project-alist)))))
883 (if async 883 (if async
884 (org-export-async-start 'ignore 884 (org-export-async-start (lambda (results) nil)
885 `(let ((org-publish-use-timestamps-flag 885 `(let ((org-publish-use-timestamps-flag
886 (if ',force nil ,org-publish-use-timestamps-flag))) 886 (if ',force nil ,org-publish-use-timestamps-flag)))
887 (org-publish-projects ',project-alist))) 887 (org-publish-projects ',project-alist)))
@@ -899,7 +899,7 @@ optional argument ASYNC, publishing will be done asynchronously,
899in another process." 899in another process."
900 (interactive "P") 900 (interactive "P")
901 (if async 901 (if async
902 (org-export-async-start 'ignore 902 (org-export-async-start (lambda (results) nil)
903 `(progn 903 `(progn
904 (when ',force (org-publish-remove-all-timestamps)) 904 (when ',force (org-publish-remove-all-timestamps))
905 (let ((org-publish-use-timestamps-flag 905 (let ((org-publish-use-timestamps-flag
@@ -921,7 +921,7 @@ asynchronously, in another process."
921 (interactive "P") 921 (interactive "P")
922 (let ((file (buffer-file-name (buffer-base-buffer)))) 922 (let ((file (buffer-file-name (buffer-base-buffer))))
923 (if async 923 (if async
924 (org-export-async-start 'ignore 924 (org-export-async-start (lambda (results) nil)
925 `(let ((org-publish-use-timestamps-flag 925 `(let ((org-publish-use-timestamps-flag
926 (if ',force nil ,org-publish-use-timestamps-flag))) 926 (if ',force nil ,org-publish-use-timestamps-flag)))
927 (org-publish-file ,file))) 927 (org-publish-file ,file)))
diff --git a/lisp/org/ox.el b/lisp/org/ox.el
index dd81ad13d1d..1327ae409ed 100644
--- a/lisp/org/ox.el
+++ b/lisp/org/ox.el
@@ -5479,8 +5479,9 @@ to `:default' encoding. If it fails, return S."
5479(defmacro org-export-async-start (fun &rest body) 5479(defmacro org-export-async-start (fun &rest body)
5480 "Call function FUN on the results returned by BODY evaluation. 5480 "Call function FUN on the results returned by BODY evaluation.
5481 5481
5482BODY evaluation happens in an asynchronous process, from a buffer 5482FUN is an anonymous function of one argument. BODY evaluation
5483which is an exact copy of the current one. 5483happens in an asynchronous process, from a buffer which is an
5484exact copy of the current one.
5484 5485
5485Use `org-export-add-to-stack' in FUN in order to register results 5486Use `org-export-add-to-stack' in FUN in order to register results
5486in the stack. 5487in the stack.
diff --git a/lisp/progmodes/bat-mode.el b/lisp/progmodes/bat-mode.el
index e328cfa0d8b..266c24adcca 100644
--- a/lisp/progmodes/bat-mode.el
+++ b/lisp/progmodes/bat-mode.el
@@ -78,11 +78,11 @@
78 "goto" "gtr" "if" "in" "leq" "lss" "neq" "not" "start")) 78 "goto" "gtr" "if" "in" "leq" "lss" "neq" "not" "start"))
79 (UNIX 79 (UNIX
80 '("bash" "cat" "cp" "fgrep" "grep" "ls" "sed" "sh" "mv" "rm"))) 80 '("bash" "cat" "cp" "fgrep" "grep" "ls" "sed" "sh" "mv" "rm")))
81 `(("\\<_\\(call\\|goto\\)\\_>[ \t]+%?\\([A-Za-z0-9-_\\:.]+\\)%?" 81 `(("\\_<\\(call\\|goto\\)\\_>[ \t]+%?\\([A-Za-z0-9-_\\:.]+\\)%?"
82 (2 font-lock-constant-face t)) 82 (2 font-lock-constant-face t))
83 ("^:[^:].*" 83 ("^:[^:].*"
84 . 'bat-label-face) 84 . 'bat-label-face)
85 ("\\<_\\(defined\\|set\\)\\_>[ \t]*\\(\\w+\\)" 85 ("\\_<\\(defined\\|set\\)\\_>[ \t]*\\(\\w+\\)"
86 (2 font-lock-variable-name-face)) 86 (2 font-lock-variable-name-face))
87 ("%\\(\\w+\\)%?" 87 ("%\\(\\w+\\)%?"
88 (1 font-lock-variable-name-face)) 88 (1 font-lock-variable-name-face))
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el
index 853f2d0dad2..3f98708e2e3 100644
--- a/lisp/progmodes/prolog.el
+++ b/lisp/progmodes/prolog.el
@@ -3139,7 +3139,7 @@ the following comma and whitespace, if any."
3139 (eq (char-before) ?_) 3139 (eq (char-before) ?_)
3140 (save-excursion 3140 (save-excursion
3141 (skip-chars-backward "[:alpha:]_") 3141 (skip-chars-backward "[:alpha:]_")
3142 (looking-at "\\<_[_[:upper:]][[:alnum:]_]*\\_>"))) 3142 (looking-at "\\_<[_[:upper:]][[:alnum:]_]*\\_>")))
3143 (replace-match "_") 3143 (replace-match "_")
3144 (skip-chars-forward ", \t\n"))))) 3144 (skip-chars-forward ", \t\n")))))
3145 3145
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index dfefe837569..b230992fc98 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2886,9 +2886,13 @@ When IMPORT is non-nil takes precedence over INPUT for
2886completion." 2886completion."
2887 (with-current-buffer (process-buffer process) 2887 (with-current-buffer (process-buffer process)
2888 (let* ((prompt 2888 (let* ((prompt
2889 (let ((prompt-boundaries (python-util-comint-last-prompt))) 2889 ;; Get last prompt of the inferior process buffer (this
2890 ;; intentionally avoids using `comint-last-prompt' because
2891 ;; of incompatibilities with Emacs 24.x).
2892 (save-excursion
2890 (buffer-substring-no-properties 2893 (buffer-substring-no-properties
2891 (car prompt-boundaries) (cdr prompt-boundaries)))) 2894 (line-beginning-position) ;End of prompt.
2895 (re-search-backward "^"))))
2892 (completion-code 2896 (completion-code
2893 ;; Check whether a prompt matches a pdb string, an import 2897 ;; Check whether a prompt matches a pdb string, an import
2894 ;; statement or just the standard prompt and use the 2898 ;; statement or just the standard prompt and use the
diff --git a/src/ChangeLog b/src/ChangeLog
index b47fb4c9d0f..add43dc4b07 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,15 @@
12014-10-12 Paul Eggert <eggert@cs.ucla.edu> 12014-10-12 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Fix port to Debian GNU/kFreeBSD 7 (wheezy) (Bug#18666).
4 * process.c (accept4) [!HAVE_ACCEPT4]: New macro.
5
62014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * frame.c (Fmouse_pixel_position): Call Vmouse_position_function
9 (bug#18638).
10
112014-10-12 Paul Eggert <eggert@cs.ucla.edu>
12
3 * editfns.c (dump_tz_string): No longer const. 13 * editfns.c (dump_tz_string): No longer const.
4 It might be modified. 14 It might be modified.
5 15
diff --git a/src/ChangeLog.11 b/src/ChangeLog.11
index ac886d38966..fc6ff1fda6a 100644
--- a/src/ChangeLog.11
+++ b/src/ChangeLog.11
@@ -2241,7 +2241,7 @@
2241 * xdisp.c (try_scrolling): Avoid infloop if the first line is 2241 * xdisp.c (try_scrolling): Avoid infloop if the first line is
2242 obscured due to a vscroll (Bug#7537). 2242 obscured due to a vscroll (Bug#7537).
2243 2243
22442010-12-13 Jan Djärv <jhd@zeplinf.localdomain> 22442010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2245 2245
2246 * nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT. 2246 * nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.
2247 2247
diff --git a/src/frame.c b/src/frame.c
index d0527bf2a9c..a3139173655 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1850,7 +1850,8 @@ and nil for X and Y. */)
1850{ 1850{
1851 struct frame *f; 1851 struct frame *f;
1852 Lisp_Object lispy_dummy; 1852 Lisp_Object lispy_dummy;
1853 Lisp_Object x, y; 1853 Lisp_Object x, y, retval;
1854 struct gcpro gcpro1;
1854 1855
1855 f = SELECTED_FRAME (); 1856 f = SELECTED_FRAME ();
1856 x = y = Qnil; 1857 x = y = Qnil;
@@ -1867,7 +1868,11 @@ and nil for X and Y. */)
1867 } 1868 }
1868 1869
1869 XSETFRAME (lispy_dummy, f); 1870 XSETFRAME (lispy_dummy, f);
1870 return Fcons (lispy_dummy, Fcons (x, y)); 1871 retval = Fcons (lispy_dummy, Fcons (x, y));
1872 GCPRO1 (retval);
1873 if (!NILP (Vmouse_position_function))
1874 retval = call1 (Vmouse_position_function, retval);
1875 RETURN_UNGCPRO (retval);
1871} 1876}
1872 1877
1873#ifdef HAVE_WINDOW_SYSTEM 1878#ifdef HAVE_WINDOW_SYSTEM
@@ -4869,8 +4874,8 @@ is visible. In this case you can not overscroll. */);
4869 4874
4870 DEFVAR_LISP ("mouse-position-function", Vmouse_position_function, 4875 DEFVAR_LISP ("mouse-position-function", Vmouse_position_function,
4871 doc: /* If non-nil, function to transform normal value of `mouse-position'. 4876 doc: /* If non-nil, function to transform normal value of `mouse-position'.
4872`mouse-position' calls this function, passing its usual return value as 4877`mouse-position' and `mouse-pixel-position' call this function, passing their
4873argument, and returns whatever this function returns. 4878usual return value as argument, and return whatever this function returns.
4874This abnormal hook exists for the benefit of packages like `xt-mouse.el' 4879This abnormal hook exists for the benefit of packages like `xt-mouse.el'
4875which need to do mouse handling at the Lisp level. */); 4880which need to do mouse handling at the Lisp level. */);
4876 Vmouse_position_function = Qnil; 4881 Vmouse_position_function = Qnil;
diff --git a/src/process.c b/src/process.c
index 0c36f8e18c3..06fc918cf54 100644
--- a/src/process.c
+++ b/src/process.c
@@ -173,6 +173,9 @@ close_on_exec (int fd)
173 return fd; 173 return fd;
174} 174}
175 175
176# undef accept4
177# define accept4(sockfd, addr, addrlen, flags) \
178 process_accept4 (sockfd, addr, addrlen, flags)
176static int 179static int
177accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) 180accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
178{ 181{