Eli Zaretskii [Tue, 7 Feb 2017 16:29:02 +0000 (18:29 +0200)]
Fix a typo in ada-mode manual
* doc/misc/ada-mode.texi (Project file variables): Add a missing
right bracket. Reported by Jean-Christophe Helary
<jean.christophe.helary@gmail.com>.
Eli Zaretskii [Sun, 5 Feb 2017 19:55:21 +0000 (21:55 +0200)]
; * src/coding.c (Fencode_coding_region): Fix a typo in the doc string.
Eli Zaretskii [Sun, 5 Feb 2017 19:50:49 +0000 (21:50 +0200)]
Clarify documentation of 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
* doc/lispref/nonascii.texi (Text Representations): Clarify that
'exact' value of QUALITY argument to 'bufferpos-to-filepos' and
'filepos-to-bufferpos' can lead to expensive and slow processing.
* lisp/international/mule-util.el (filepos-to-bufferpos)
(bufferpos-to-filepos): Doc fix. (Bug#25626)
Nicolas Petton [Fri, 3 Feb 2017 15:28:13 +0000 (16:28 +0100)]
Bump Emacs version to 25.2 RC1
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version.
* lisp/ldefs-boot.el: Update.
Nicolas Petton [Fri, 3 Feb 2017 15:00:17 +0000 (16:00 +0100)]
; Update ChangeLog.2 and AUTHORS files
Nicolas Petton [Fri, 3 Feb 2017 14:50:24 +0000 (15:50 +0100)]
* admin/make-tarball.txt: Add documentation regarding the release banner.
Nicolas Petton [Fri, 3 Feb 2017 14:32:01 +0000 (15:32 +0100)]
; Update ChangeLog.2 and AUTHORS files
Tino Calancha [Fri, 3 Feb 2017 10:59:22 +0000 (19:59 +0900)]
* CONTRIBUTE (Documenting your changes): Index new vars/commands in manual.
Nicolas Petton [Fri, 3 Feb 2017 10:39:48 +0000 (11:39 +0100)]
; Update ChangeLog.2 and AUTHORS files
Tino Calancha [Fri, 3 Feb 2017 08:49:39 +0000 (17:49 +0900)]
; * CONTRIBUTE (Generating ChangeLog entries): Drop duplicate word.
Eli Zaretskii [Tue, 31 Jan 2017 20:36:02 +0000 (22:36 +0200)]
Index byte-compile-debug
* doc/lispref/compile.texi (Compilation Functions): Index
byte-compile-debug.
Philipp Stephani [Tue, 31 Jan 2017 20:10:03 +0000 (21:10 +0100)]
Document `byte-compile-debug' in the ELisp manual
* doc/lispref/compile.texi: Document variable `byte-compile-debug'.
Philipp Stephani [Tue, 31 Jan 2017 18:04:36 +0000 (19:04 +0100)]
Document variable `byte-compile-debug'
* lisp/emacs-lisp/bytecomp.el (byte-compile-debug): Document variable.
Noam Postavsky [Tue, 31 Jan 2017 02:45:02 +0000 (21:45 -0500)]
Fix call to debugger on assertion failure
* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): The first
argument must be `error', and the second is a list of arguments for
`signal'.
Noam Postavsky [Sat, 7 Jan 2017 21:05:19 +0000 (16:05 -0500)]
Call modification hooks in org-src fontify buffers
* lisp/org/org-src.el (org-src-font-lock-fontify-block): Let-bind
`inhibit-modification-hooks' to nil, since this function can be called
from jit-lock-function which binds that variable to t (Bug#25132).
Eli Zaretskii [Sat, 28 Jan 2017 09:14:28 +0000 (11:14 +0200)]
; Fix last change in doc/lispref/strings.texi
* doc/lispref/strings.texi (Formatting Strings): One more
clarification to the last change. (Bug#25557)
Eli Zaretskii [Sat, 28 Jan 2017 08:30:17 +0000 (10:30 +0200)]
Improve documentation of 'format' conversions
* src/editfns.c (Fformat): More accurate description of %g and
effects of the various flags on it. More accurate description of
integer conversions.
* doc/lispref/strings.texi (Formatting Strings): More accurate
description of %g and effects of the various flags on it. More
accurate description of integer conversions. (Bug#25557)
Vladimir Panteleev [Fri, 27 Jan 2017 09:49:42 +0000 (11:49 +0200)]
Remove stale functions from ert manual
* doc/misc/ert.texi (Useful Techniques when Writing Tests):
Replace ert--mismatch references with its cl-lib replacement,
cl-mismatch.
Copyright-paperwork-exempt: yes
Eli Zaretskii [Fri, 27 Jan 2017 09:42:59 +0000 (11:42 +0200)]
Fix a typo in Eshell manual
* doc/misc/eshell.texi (History): Fix a typo. Reported by Mak
Kolybabi <mak@kolybabi.com>.
Tino Calancha [Fri, 20 Jan 2017 15:31:40 +0000 (00:31 +0900)]
; Fix a typo in ediff-merg.el
* lisp/vc/ediff-merg.el (ediff-skip-merge-regions-that-differ-from-default):
Fix a typo in docstring.
Eli Zaretskii [Fri, 20 Jan 2017 08:57:14 +0000 (10:57 +0200)]
Improve documentation of hooks related to saving buffers
* lisp/files.el (write-file-functions, write-contents-functions)
(before-save-hook, after-save-hook): Note that these are only used
by save-buffer.
* doc/lispref/backups.texi (Auto-Saving):
* doc/lispref/files.texi (Saving Buffers): Mention that
save-related hooks are not run by auto-saving. (Bug#25460)
Eli Zaretskii [Fri, 20 Jan 2017 08:34:15 +0000 (10:34 +0200)]
Improve documentation of auto-save-visited-file-name
* doc/emacs/files.texi (Auto Save Files): Mention subtle
differences between saving the buffer and auto-saving with
auto-save-visited-file-name set non-nil. (Bug#25478)
Tom Tromey [Wed, 18 Jan 2017 04:58:09 +0000 (21:58 -0700)]
fix typo in mailcap-mime-extensions
* lisp/net/mailcap.el (mailcap-mime-extensions): Use "text/x-patch",
not "test/x-patch". (Bug#25472)
Lele Gaifax [Wed, 18 Jan 2017 16:15:28 +0000 (18:15 +0200)]
Fix typos in flymake.el
* lisp/progmodes/flymake.el (flymake-check-patch-master-file-buffer):
Spelling fixes in the doc string.
Copyright-paperwork-exempt: yes
Glenn Morris [Tue, 17 Jan 2017 21:10:03 +0000 (16:10 -0500)]
More NEWS checking for admin.el's set-version
* admin/admin.el (set-version): Warn if temporary NEWS markup
still present in release candidates.
Michael Albinus [Tue, 17 Jan 2017 16:23:46 +0000 (17:23 +0100)]
Fix auto-save-file-name problem in Tramp on MS Windows. Do not merge
* lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
Fix a problem when running on MS Windows.
Eli Zaretskii [Mon, 16 Jan 2017 17:12:40 +0000 (19:12 +0200)]
; Spelling fixes
* src/buffer.c (delete_all_overlays, Fkill_buffer): Fix typos in
comments.
Ian Dunn [Mon, 16 Jan 2017 00:02:47 +0000 (19:02 -0500)]
* lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445).
Copyright-paperwork-exempt: yes
Stefan Monnier [Sat, 14 Jan 2017 16:50:11 +0000 (11:50 -0500)]
* lisp/progmodes/sql.el (sql-product-alist): Doc tweak
`:sqli-comint-func' does not have to be a symbol.
Eli Zaretskii [Sat, 14 Jan 2017 08:40:01 +0000 (10:40 +0200)]
* lisp/progmodes/sql.el (sql-product-alist): Doc fix. (Bug#25440)
Eli Zaretskii [Fri, 13 Jan 2017 09:12:27 +0000 (11:12 +0200)]
Improve documentation of dabbrevs
* doc/emacs/abbrevs.texi (Dynamic Abbrevs): Add a cross reference
to "Dabbrev Customization".
(Dabbrev Customization): More details about the default value of
dabbrev-abbrev-char-regexp and use cases when it might not be good
enough. (Bug#25432)
Noam Postavsky [Sat, 7 Jan 2017 14:26:08 +0000 (09:26 -0500)]
Clarify that easy-menu-add is a nop (Bug#25382)
* lisp/emacs-lisp/easymenu.el (easy-menu-add): Make it into an alias of
`ignore', like `easy-menu-remove'.
Glenn Morris [Wed, 11 Jan 2017 23:23:17 +0000 (18:23 -0500)]
* lisp/textmodes/rst.el (rst-package-emacs-version-alist): Fix entry.
Eli Zaretskii [Wed, 11 Jan 2017 18:52:26 +0000 (20:52 +0200)]
Revert "Add DNS keywords and remove duplications"
This reverts commit
1cb9aa5b14867983d0013a61709b4d0af18364ff.
Alexander Kuleshov [Fri, 23 Dec 2016 10:53:41 +0000 (16:53 +0600)]
Add DNS keywords and remove duplications
* lisp/textmodes/dns-mode.el (dns-mode-types): Add two TLSA and
NSEC" DNS related keywords and remove duplication of "NSAP".
Eli Zaretskii [Tue, 10 Jan 2017 18:02:37 +0000 (20:02 +0200)]
Improve documentation of coding-systems
* doc/lispref/nonascii.texi (Coding System Basics): Mention
'prefer-utf-8'. Index it and 'undecided'.
(Encoding and I/O): Fix a typo.
(User-Chosen Coding Systems): Improve the documentation of
ACCEPT-DEFAULT-P argument to select-safe-coding-system. Document
select-safe-coding-system-function.
(Specifying Coding Systems): Document coding-system-require-warning.
Eli Zaretskii [Mon, 9 Jan 2017 16:00:33 +0000 (18:00 +0200)]
Improve definition of 'variable-pitch' face on MS-Windows
* lisp/faces.el (variable-pitch): Don't specify too many
attributes of the font, otherwise faces that request different
weight or slant or size will not get them.
Eli Zaretskii [Mon, 9 Jan 2017 15:28:17 +0000 (17:28 +0200)]
Fix an error message in python.el
* lisp/progmodes/python.el (python-shell-get-process-or-error):
Don't repeat the same key binding twice. (Bug#25405)
Noam Postavsky [Thu, 5 Jan 2017 01:35:13 +0000 (20:35 -0500)]
Clarify major mode switching
* doc/emacs/modes.texi (Major Modes):
* doc/lispref/modes.texi (Modes, Major Modes): Explictly say that each
buffer has exactly one major mode and can't be "turned off", only
switched away from (Bug#25357).
Noam Postavsky [Thu, 5 Jan 2017 00:35:04 +0000 (19:35 -0500)]
Add helpful comment to compile-command's docstring
* lisp/progmodes/compile.el (compile-command): Mention trailing space in
docstring (Bug#25337).
Eli Zaretskii [Fri, 6 Jan 2017 13:23:17 +0000 (15:23 +0200)]
Fix ':version' of 'select-enable-primary'
* lisp/select.el (select-enable-primary): Fix a typo in
':version'. (Bug#25375)
Glenn Morris [Wed, 4 Jan 2017 19:21:38 +0000 (14:21 -0500)]
; Auto-commit of loaddefs files.
Glenn Morris [Wed, 4 Jan 2017 19:10:34 +0000 (14:10 -0500)]
Update remaining copyright years with admin.el M-x set-copyright
* etc/refcards/ru-refcard.tex (cyear): Set to 2017.
Glenn Morris [Wed, 4 Jan 2017 18:32:18 +0000 (13:32 -0500)]
* lisp/ffap.el (ffap-lax-url): Bump :version after recent change.
Philipp Stephani [Tue, 3 Jan 2017 16:19:36 +0000 (17:19 +0100)]
Document that functions in 'ffap-alist' can use the match data
* lisp/ffap.el (ffap-alist): Document that ffap sets the match data
while walking 'ffap-alist'.
Paul Eggert [Sun, 1 Jan 2017 04:01:41 +0000 (04:01 +0000)]
Fix copyright years by hand
These are dates that admin/update-copyright did not update, or
updated incorrectly.
Paul Eggert [Sun, 1 Jan 2017 03:14:01 +0000 (03:14 +0000)]
Update copyright year to 2017
Run admin/update-copyright.
Nicolas Petton [Fri, 30 Dec 2016 14:38:03 +0000 (15:38 +0100)]
Bump Emacs version to 25.1.91
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version.
* lisp/ldefs-boot.el: Update.
Nicolas Petton [Fri, 30 Dec 2016 14:37:44 +0000 (15:37 +0100)]
; Update ChangeLog.2 and AUTHORS files
Alan Mackenzie [Thu, 29 Dec 2016 20:52:02 +0000 (20:52 +0000)]
Backport: Remove an ambiguity from defvar's doc string. Fixes bug #25292.
The ambiguity was whether INITVALUE is evaluated when it's not going to be
used to set SYMBOL's value.
* src/eval.c (defvar): Rewrite a paragraph of the doc string.
(cherry picked from commit
8295e97f18490a535d1188a3daf0b0fd1bf4fa0d)
Stefan Monnier [Tue, 27 Dec 2016 17:44:32 +0000 (12:44 -0500)]
* lisp/emacs-lisp/inline.el: Fix apply-conversion (bug#25280)
(inline--dont-quote): Quote the function with #' when passing it to `apply'.
Cherry picked from commit
e6161f648903d821865b9610b3b6aa0f82a5dcb7.
Eli Zaretskii [Tue, 27 Dec 2016 07:10:30 +0000 (09:10 +0200)]
; Improve wording of previous change in variables.texi
* doc/lispref/variables.texi (Default Value): Improve wording of
last change.
Eli Zaretskii [Mon, 26 Dec 2016 17:10:49 +0000 (19:10 +0200)]
Document 'default-toplevel-value' and 'set-default-toplevel-value'
* doc/lispref/variables.texi (Default Value): Document
'default-toplevel-value' and 'set-default-toplevel-value'.
Leo Liu [Sun, 25 Dec 2016 06:37:51 +0000 (14:37 +0800)]
Don't modify minibuffer variables globally
* lisp/files.el (cd): Use setq-local instead. (Bug#25260)
Eli Zaretskii [Sat, 24 Dec 2016 18:12:06 +0000 (20:12 +0200)]
Revert to pre-25.1 behavior in ffap
* lisp/ffap.el (ffap-lax-url): Change the default to t, to produce
the same behavior as in Emacs 24.x. (Bug#25264)
Explain the trade-offs of customizing this in the doc string.
Noam Postavsky [Sat, 24 Dec 2016 15:35:30 +0000 (10:35 -0500)]
* lisp/ffap.el: Fix obsolete comment referencing ffap-bug.
Eli Zaretskii [Fri, 23 Dec 2016 20:26:25 +0000 (22:26 +0200)]
Attempt to fix 64-bit AIX build
* src/unexaix.c (make_hdr, copy_text_and_data, write_segment): Fix
type-casts that assumed 32-bit pointers. (Bug#25141)
Philipp Stephani [Sun, 18 Dec 2016 21:18:01 +0000 (22:18 +0100)]
Clarify usage of 'ediff-cleanup-hook' (Bug#24675)
* doc/misc/ediff.texi (Hooks): Clarify usage of 'ediff-cleanup-hook'
Philipp Stephani [Fri, 23 Dec 2016 12:14:55 +0000 (13:14 +0100)]
Document that variable binding order is unspecified
* doc/lispref/variables.texi (Local Variables):
* cl.texi (Modify Macros): Document that binding order in 'let' and
'cl-letf' is unspecified.
Eli Zaretskii [Fri, 23 Dec 2016 09:36:04 +0000 (11:36 +0200)]
* lisp/desktop.el (desktop-buffers-not-to-save): Doc fix.
Stefan Monnier [Fri, 23 Dec 2016 08:53:31 +0000 (10:53 +0200)]
Fix M-x hints on Mac port
* lisp/simple.el (execute-extended-command--shorter): Call
input-pending-p to trigger input processing on some systems, such
as Mac port. (Bug#23002)
Martin Rudalics [Thu, 22 Dec 2016 07:35:07 +0000 (08:35 +0100)]
Work around reporting a dpi change in apply_xft_settings
* src/xsettings.c (apply_xft_settings): Don't report a change
when dpi settings do not differ substantially.
Noam Postavsky [Wed, 21 Dec 2016 02:43:46 +0000 (21:43 -0500)]
; lisp/skeleton.el (skeleton-insert): Fix typo in last change
Alan Mackenzie [Tue, 20 Dec 2016 21:49:31 +0000 (21:49 +0000)]
Amend the version number of CC Mode 5.33 -> 5.32.99. Don't merge to trunk.
lisp/progmodes/cc-defs.el: Amend the version number.
etc/NEWS: Add an item explaining the change.
Noam Postavsky [Tue, 20 Dec 2016 00:49:47 +0000 (19:49 -0500)]
Improve skeleton docstrings
* lisp/skeleton.el (skeleton-end-newline): Remove mention of
`skeleton-end-hook', its default code was moved into `skeleton-insert'.
(skeleton-insert): Mention `skeleton-end-newline' and move reference to
`skeleton-end-hook' above the explanation of skeleton syntax.
Glenn Morris [Mon, 19 Dec 2016 18:25:29 +0000 (13:25 -0500)]
; Auto-commit of loaddefs file.
Eli Zaretskii [Mon, 19 Dec 2016 18:00:09 +0000 (20:00 +0200)]
Improve documentation of 'w32-scroll-lock-modifier'
* doc/emacs/msdos.texi (Windows Keyboard): Document how to set up
w32-scroll-lock-modifier so that Scroll Lock toggles the LED.
* src/w32fns.c (syms_of_w32fns) <w32-scroll-lock-modifier>: Doc
fix. (Bug#25204)
Eli Zaretskii [Mon, 19 Dec 2016 17:59:00 +0000 (19:59 +0200)]
Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
Eli Zaretskii [Mon, 19 Dec 2016 17:57:22 +0000 (19:57 +0200)]
Document 'describe-fontset'
* doc/emacs/mule.texi (Fontsets): Document 'describe-fontset'.
(Bug#25216)
Eli Zaretskii [Mon, 19 Dec 2016 17:44:52 +0000 (19:44 +0200)]
Document 'describe-fontset'
* doc/emacs/mule.texi (Fontsets): Document 'describe-fontset'.
(Bug#25216)
Philipp Stephani [Sun, 18 Dec 2016 21:27:42 +0000 (22:27 +0100)]
; Add missing symbol quoting.
* lisp/vc/ediff-util.el (ediff-janitor): Add missing symbol quoting.
Eli Zaretskii [Sat, 17 Dec 2016 17:05:21 +0000 (19:05 +0200)]
Repair desktop restoration on text terminals
* lisp/desktop.el (desktop-restoring-frameset-p): Test for the GUI
frame here, instead of in desktop-restoring-frameset. That's
because desktop-read wants to know whether frameset will actually
be restored, and has fallback procedures up its sleeve when it
won't be; these fallbacks need to be invoked when the frameset is
not going to be restored. (Bug#24298)
Dmitry Gutov [Fri, 16 Dec 2016 23:52:12 +0000 (01:52 +0200)]
Ignore forward-sexp-function in js-mode indentation code
* lisp/progmodes/js.el (js--multi-line-declaration-indentation)
(js--maybe-goto-declaration-keyword-end):
Bind forward-sexp-function to nil (bug#25215).
Eli Zaretskii [Fri, 16 Dec 2016 08:49:31 +0000 (10:49 +0200)]
Improve documentation of 'define-coding-system'
* lisp/international/mule.el (define-coding-system): Warn against
possible infinite recursion in pre-write-conversion and
post-read-conversion functions. (Bug#25203)
Michael Albinus [Sun, 11 Dec 2016 09:50:17 +0000 (10:50 +0100)]
Fix Bug#25162
* doc/emacs/files.texi (Reverting): Document
auto-revert-remote-files and auto-revert-verbose.
* lisp/autorevert.el (auto-revert-verbose, auto-revert-mode)
(auto-revert-tail-mode, global-auto-revert-mode): Fix docstring.
Glenn Morris [Sun, 11 Dec 2016 03:44:14 +0000 (19:44 -0800)]
Fix a typo in define-abbrev-table
* lisp/abbrev.el (define-abbrev-table): Fix typo in docstring handling.
Glenn Morris [Sun, 11 Dec 2016 02:23:51 +0000 (18:23 -0800)]
Bump makeinfo requirement from 4.7 to 4.13
* configure.ac: Bump makeinfo version requirement from 4.7 to 4.13.
We need at least 4.8, and that may be buggy, so go for the last
of the 4 series, which is 8 years old. (Bug#25108)
Glenn Morris [Sun, 11 Dec 2016 02:11:56 +0000 (18:11 -0800)]
Fixes related to select-enable-clipboard
* lisp/menu-bar.el (clipboard-yank, clipboard-kill-ring-save)
(clipboard-kill-region):
* lisp/eshell/esh-io.el (eshell-virtual-targets)
(eshell-clipboard-append):
Replace option gui-select-enable-clipboard with
select-enable-clipboard; renamed October 2014. (Bug#25145)
Noam Postavsky [Fri, 2 Dec 2016 05:03:57 +0000 (00:03 -0500)]
Define struct predicate before acccesors
The accessor functions use the predicate function, which causes problems
when reloading after unload-feature: the compiler-macro property is
still present on the predicate symbol, and the compiler fails to find
the definition when trying to inline it into the accessor
function (Bug#25088).
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Move predicate definition
before field accessor definitions.
Glenn Morris [Thu, 8 Dec 2016 06:53:58 +0000 (22:53 -0800)]
Doc fix for vc-git
* lisp/vc/vc-git.el (vc-git-region-history): Add a doc string.
Glenn Morris [Thu, 8 Dec 2016 00:45:48 +0000 (19:45 -0500)]
Further improve make-dist checking
* make-dist: Print status messages when checking.
Glenn Morris [Thu, 8 Dec 2016 00:43:36 +0000 (19:43 -0500)]
Improve previous make-dist change
* make-dist: Let make check the info files more thoroughly.
Glenn Morris [Thu, 8 Dec 2016 00:13:05 +0000 (19:13 -0500)]
Make make-dist --snapshot do some sanity checks
* make-dist: Snapshot mode no longer disables checks.
Checks now includes checks for freshness. (Bug#25084)
Checks now exits with an error if problems were found.
Paul Eggert [Wed, 7 Dec 2016 19:29:54 +0000 (11:29 -0800)]
Fix minor quoting problems in doc strings
Philipp Stephani [Mon, 18 Apr 2016 16:32:35 +0000 (12:32 -0400)]
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstring
so that it matches the actual implementation.
See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html
Noam Postavsky [Sun, 4 Dec 2016 06:06:52 +0000 (01:06 -0500)]
Don't assume window-point and point are the same
The function `cursor-sensor--detect' calls `bobp' to decide whether to
check properties at (1- (window-point)). However, (window-point) may be
at beginning of buffer, even if (point) is not. In this case an
`args-out-of-range' error will be signaled (Bug#25104).
* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Check the
value of (window-point) against (point-min), rather than (bobp) to
decide if (1- (window-point)) is accessible.
Nicolas Petton [Fri, 2 Dec 2016 13:07:41 +0000 (14:07 +0100)]
Fix bug#25087
* etc/themes/manoj-dark-theme.el: Fix two typos.
(cherry picked from commit
66d6e7e9ecf5e481f8c2c3a4f88411f66c869a6e)
Eli Zaretskii [Fri, 2 Dec 2016 14:35:16 +0000 (16:35 +0200)]
; * lisp/vc/ediff-util.el (ediff-janitor): Fix last change. (Bug#25046)
Eli Zaretskii [Fri, 2 Dec 2016 09:29:10 +0000 (11:29 +0200)]
* lisp/vc/ediff-util.el (ediff-janitor): Doc fix. (Bug#25046)
Eli Zaretskii [Fri, 2 Dec 2016 09:14:11 +0000 (11:14 +0200)]
; * doc/emacs/programs.texi (Man Page): Fix last change.
Eli Zaretskii [Fri, 2 Dec 2016 09:10:04 +0000 (11:10 +0200)]
Improve indexing of 'man'
* doc/emacs/programs.texi (Man Page): Index 'man', not
'manual-entry', as the latter is an alias for the former.
Suggested by Hong Xu <hong@topbug.net>. (Bug#25033)
Paul Eggert [Fri, 2 Dec 2016 07:13:31 +0000 (23:13 -0800)]
Port to Sun C 5.14
Backport from master. Sun C 5.14 supports C11 but not GCC
extensions, and so refuses to compile Emacs without this patch.
* src/alloc.c (lmalloc, lrealloc): Don't use INT_ADD_WRAPV on
size_t, as in general this macro is restricted to signed types.
Richard Stallman [Sat, 3 Sep 2016 01:55:09 +0000 (21:55 -0400)]
Fix mail-combine-fields
* lisp/mail/sendmail.el (mail-combine-fields): Call `save-excursion' to
avoid losing our place in the search loop.
(cherry picked from commit
5fbba6cceaf843cfca449eb000a0a65243b61808)
Martin Rudalics [Thu, 1 Dec 2016 09:51:11 +0000 (10:51 +0100)]
Fix documentation of `window-combination-resize'
* src/window.c (Vwindow_combination_resize): Fix doc-string.
* doc/lispref/windows.texi (Recombining Windows): Fix
documentation of `window-combination-resize'.
Bogdan Creanga [Tue, 29 Nov 2016 10:07:15 +0000 (19:07 +0900)]
Typo fixes in elisp manual
* doc/lispref/sequences.texi: Add missing '4' in result (Bug#25047).
* doc/lispref/strings.texi (Text Comparison): Avoid duplicate
definitions of 'string-prefix-p' and 'string-suffix-p'.
* doc/lispref/symbols.texi (Definitions): Pluralize 'definitions'.
Copyright-paperwork-exempt: yes
Philipp Stephani [Mon, 28 Nov 2016 18:45:55 +0000 (19:45 +0100)]
; Revert "Guard terminal par. in XTerm mouse mode"
This reverts commit
d4e15492f7c55eabdadc6f3735b84972748e6c0d.
Since emacs-25 should only contain regression fixes and doc fixes, this
commit was moved to the master branch.
Nicolas Petton [Mon, 28 Nov 2016 18:04:23 +0000 (19:04 +0100)]
; Update ChangeLog.2, etc/AUTHORS and ldef-boot.el for Emacs 25.1.90 pretest
Eli Zaretskii [Mon, 28 Nov 2016 15:43:25 +0000 (17:43 +0200)]
Fix 'expand-file-name' during startup on MS-Windows
* src/w32.c (w32_init_file_name_codepage): New function, resets
file_name_codepage and w32_ansi_code_page to undo the values
recorded during dumping.
(codepage_for_filenames): Fix an embarrassing typo. Ignore the
cached value of file-name encoding if it is nil, i.e. not
initialized yet. Actually cache the last used file-name encoding
to avoid calling APIs when not necessary.
* src/w32.h (w32_init_file_name_codepage): Add prototype.
* src/w32term.c (syms_of_w32term): Set the value of
w32_unicode_filenames according to the OS version. This avoids
resetting it during startup, which then causes temacs to run with
the incorrect value.
* src/emacs.c (main): Call w32_init_file_name_codepage early
during the startup.
* src/fileio.c (Fexpand_file_name) [WINDOWSNT]: Update 'newdir'
after converting $HOME to a UTF-8 string, so that 'newdirlim' is
consistent with it. (Bug#25038)
* lisp/international/mule-cmds.el (set-locale-environment): Set
'default-file-name-coding-system' to the ANSI codepage even in
non-interactive sessions.
* lisp/files.el (directory-abbrev-alist, abbreviated-home-dir):
Doc fix.
(abbreviate-file-name): Decode 'abbreviated-home-dir' if it is a
unibyte string.
* doc/lispref/files.texi (Directory Names): Index
'directory-abbrev-alist'.
Nicolas Petton [Mon, 28 Nov 2016 15:24:59 +0000 (16:24 +0100)]
; ChangeLog.2 update
Nicolas Petton [Mon, 28 Nov 2016 15:24:21 +0000 (16:24 +0100)]
* admin/authors.el (authors-renamed-files-alist): Addition.