]> git.eshelyaron.com Git - emacs.git/log
emacs.git
5 years ago; Add missing space in custom.texi
Michael Albinus [Thu, 25 Apr 2019 20:49:03 +0000 (22:49 +0200)]
; Add missing space in custom.texi

5 years ago* admin/admin.el (set-version): Check for increase in version length,
Glenn Morris [Tue, 23 Apr 2019 01:24:22 +0000 (21:24 -0400)]
* admin/admin.el (set-version): Check for increase in version length,
rather than a .50 version.

5 years agoBe more careful about indent-sexp going over eol (Bug#35286)
Noam Postavsky [Mon, 15 Apr 2019 22:49:57 +0000 (18:49 -0400)]
Be more careful about indent-sexp going over eol (Bug#35286)

* lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only go over multiple
sexps if the end of line is within a sexp.
* test/lisp/emacs-lisp/lisp-mode-tests.el
(indent-sexp-stop-before-eol-comment)
(indent-sexp-stop-before-eol-non-lisp): New tests.

5 years agoBackport: Improve pure and side-effect-free docs
Basil L. Contovounesios [Wed, 17 Apr 2019 15:34:47 +0000 (16:34 +0100)]
Backport: Improve pure and side-effect-free docs

For discussion, see thread starting at:
https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00316.html
* doc/lispref/customize.texi (Composite Types): Do not overspecify
:match-alternatives predicates.
* doc/lispref/eval.texi (Intro Eval): Anchor definition of "side
effect" for cross-referencing...
* doc/lispref/functions.texi (What Is a Function): ...from here.
Define what a pure function is.
* doc/lispref/internals.texi (Writing Emacs Primitives): Describe
currently preferred approach to marking primitives as pure and
side-effect-free.
* doc/lispref/symbols.texi (Standard Properties): Expand description
of pure and side-effect-free properties.

(cherry picked from commit 4430a9b54fca266e48d0eb8b72d83706910f10b8)

5 years agoBackport: Avoid using obsolete indent-relative-maybe
Basil L. Contovounesios [Mon, 1 Apr 2019 23:56:04 +0000 (00:56 +0100)]
Backport: Avoid using obsolete indent-relative-maybe

* lisp/electric.el (electric-indent-functions-without-reindent):
* lisp/indent.el (indent-according-to-mode): Check for
indent-relative-first-indent-point in addition to its obsolete alias
indent-relative-maybe.
* lisp/obsolete/vi.el (vi-com-map): Use
indent-relative-first-indent-point in place of its obsolete alias
indent-relative-maybe.

(cherry picked from commit 0e468a620458fecd003c396050aa6deb722982c1)

5 years agoAvoid false positives and false negatives of Info-quoted face
Mauro Aranda [Mon, 8 Apr 2019 23:24:32 +0000 (20:24 -0300)]
Avoid false positives and false negatives of Info-quoted face

* lisp/info.el (Info-mode-font-lock-keywords): Modify the regexp, for
matching single quotes of opening single quote and closing single
quote, and avoid matching text followed by a curly quote when it is
not quoting. (Bug#35202)

5 years agoFix markup related to quoting in Info
Eli Zaretskii [Sun, 21 Apr 2019 11:56:04 +0000 (14:56 +0300)]
Fix markup related to quoting in Info

* doc/misc/sc.texi (Citations): Fix markup of '>'.
* doc/misc/mh-e.texi (Speedbar): Fix markup in a @table.
* doc/misc/calc.texi (Yacas Language Mode): Fix a typo.
* doc/emacs/mark.texi (Setting Mark): Remove duplicate
quoting.  (Bug#35202)

5 years agoMerge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
Eli Zaretskii [Sun, 21 Apr 2019 11:21:52 +0000 (14:21 +0300)]
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26

5 years agoUse pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)
Noam Postavsky [Mon, 5 Feb 2018 01:43:26 +0000 (20:43 -0500)]
Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)

* configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than
AC_SEARCH_LIBS.
* src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure,
instead of just LIBLCMS2.

(cherry picked from commit cb3863370cbe574810f796726faa39ba0de0a429)

5 years agoAdd a package: line to c-submit-bug-report.
Glenn Morris [Sat, 20 Apr 2019 18:38:47 +0000 (11:38 -0700)]
Add a package: line to c-submit-bug-report.

* lisp/progmodes/cc-mode.el (c-submit-bug-report):
Add a Package: line for mail clients that do not support X- headers.

5 years ago; Remove empty NEWS sections
Glenn Morris [Sat, 20 Apr 2019 17:06:26 +0000 (10:06 -0700)]
; Remove empty NEWS sections

5 years ago; Add NEWS sections for 26.3
Glenn Morris [Sat, 20 Apr 2019 17:04:18 +0000 (10:04 -0700)]
; Add NEWS sections for 26.3

5 years ago; Bump Emacs version to 26.2.50
Glenn Morris [Sat, 20 Apr 2019 17:03:40 +0000 (10:03 -0700)]
; Bump Emacs version to 26.2.50

5 years ago* admin/admin.el (set-version): Add NEWS headers for a .50 version.
Glenn Morris [Sat, 20 Apr 2019 17:02:58 +0000 (10:02 -0700)]
* admin/admin.el (set-version): Add NEWS headers for a .50 version.

5 years agoBackport doc improvement in ELisp manual
Eli Zaretskii [Sat, 20 Apr 2019 07:21:02 +0000 (10:21 +0300)]
Backport doc improvement in ELisp manual

* doc/lispref/processes.texi (Accepting Output): Backport:
document how do avoid race conditions while waiting for all of
the process's output to arrive.

5 years agoDocument insert-image-file's return value (Bug#32978)
Noam Postavsky [Thu, 18 Apr 2019 00:22:09 +0000 (20:22 -0400)]
Document insert-image-file's return value (Bug#32978)

* lisp/image-file.el (insert-image-file): Document return value.

5 years agoAutoload cua-toggle-rectangle-mark (Bug#34947)
Braun Gábor [Fri, 22 Mar 2019 15:11:44 +0000 (16:11 +0100)]
Autoload cua-toggle-rectangle-mark (Bug#34947)

* lisp/emulation/cua-base.el (cua-toggle-rectangle-mark): Autoload it.
Library cua-base.el binds cua-toggle-rectangle-mark to a key in the
:set function in (defcustom cua-rectangle-mark-key ...), so it should
ensure that the command is defined.

Copyright-paperwork-exempt: yes

5 years agoTell xclip not to expect job-control under eshell (Bug#35257)
Noam Postavsky [Tue, 16 Apr 2019 00:38:15 +0000 (20:38 -0400)]
Tell xclip not to expect job-control under eshell (Bug#35257)

* lisp/eshell/esh-proc.el (eshell-needs-pipe): Add "xclip" and other
programs that xclip.el (in GNU ELPA) calls with
`process-connection-type' bound to nil.

5 years ago; * src/emacs.c: Fix typo in comment (Bug#35320).
Noam Postavsky [Fri, 19 Apr 2019 18:06:08 +0000 (14:06 -0400)]
; * src/emacs.c: Fix typo in comment (Bug#35320).

5 years agoFix off-by-one-link error in image--set-property
Basil L. Contovounesios [Wed, 17 Apr 2019 13:24:31 +0000 (14:24 +0100)]
Fix off-by-one-link error in image--set-property

* lisp/image.el (image--set-property): Ensure new value is set even
in the unlikely case that the plist is empty.  Fix off-by-one-link
error when deleting a property. (bug#35285)
* test/lisp/image-tests.el: New file.
(image--set-property): New test.

5 years ago* admin/admin.el (make-manuals-dist--1):
Glenn Morris [Tue, 16 Apr 2019 21:33:24 +0000 (14:33 -0700)]
* admin/admin.el (make-manuals-dist--1):
Update for incompatible copy-file change re "directories".

5 years agoDocument some compilation-mode faces
Robert Pluim [Tue, 16 Apr 2019 16:07:31 +0000 (18:07 +0200)]
Document some compilation-mode faces

* doc/emacs/building.texi (Compilation Mode): Describe faces
available to affect appearance of compilation-mode buffers.

5 years agoMention the assignment form in "Copyright Assignment"
Eli Zaretskii [Tue, 16 Apr 2019 15:32:18 +0000 (18:32 +0300)]
Mention the assignment form in "Copyright Assignment"

* doc/emacs/trouble.texi (Copyright Assignment): Mention the
copyright assignment form explicitly.  Suggested by Konstantin
Kharlamov <hi-angel@yandex.ru>.

5 years agoFix confusing wording in the user manual
Eli Zaretskii [Tue, 16 Apr 2019 15:27:37 +0000 (18:27 +0300)]
Fix confusing wording in the user manual

* doc/emacs/maintaining.texi (VC Undo): Remove a potentially
inaccurate, outdated, and/or confusing sentence.  (Bug#35290)

5 years agoFix the MSDOS build when running under CWSDPMI
Eli Zaretskii [Mon, 15 Apr 2019 15:05:52 +0000 (18:05 +0300)]
Fix the MSDOS build when running under CWSDPMI

* src/msdos.c (the_only_tty_output): Define.
* src/msdos.h (the_only_tty_output): Declare.
* src/frame.c (make_terminal_frame) [MSDOS]:
* src/dispnew.c (init_display) [MSDOS]: Set up
f->output_data.tty pointer using the_only_tty_output, before
dereferencing the pointer.  This prevents crashes with DPMI
servers that provide NULL pointer protection.

5 years ago* lisp/progmodes/python.el: Be more careful about temp file removal
Stefan Monnier [Sun, 14 Apr 2019 22:45:35 +0000 (18:45 -0400)]
* lisp/progmodes/python.el: Be more careful about temp file removal

(python-shell-prompt-detect): Use unwind-protect to try and not leave
file behind in case of error.

5 years agoBackport: Plug memory leak in GTK x-display-monitor-attributes-list
Alexander Gramiak [Sun, 7 Apr 2019 05:02:24 +0000 (23:02 -0600)]
Backport: Plug memory leak in GTK x-display-monitor-attributes-list

* src/frame.c (free_monitors) [USE_GTK]: Define in the GTK case as
well.

* src/xfns.c (x-display-monitor-attributes-list) [USE_GTK]: Plug
memory leak. Use dupstring over xstrdup as gdk_monitor_get_model may
return NULL.

5 years agoBackport: * lisp/frame.el (frame--size-history): Fix infloop. (Bug#35272)
Alexander Gramiak [Sun, 14 Apr 2019 15:27:50 +0000 (09:27 -0600)]
Backport: * lisp/frame.el (frame--size-history): Fix infloop. (Bug#35272)

5 years agoDowncase charset
Robert Pluim [Sun, 14 Apr 2019 12:36:30 +0000 (14:36 +0200)]
Downcase charset

RFC 2046 specifies that the charset parameter is case-insensitive.

* lisp/gnus/gnus-icalendar.el (gnus-icalendar-with-decoded-handle):
Downcase charset.  Suggested by Christophe TROESTLER
<Christophe.TROESTLER@umons.ac.be>.  (Bug#35265).

5 years agoUpdate for Emacs-26
Phillip Lord [Sun, 14 Apr 2019 17:16:52 +0000 (18:16 +0100)]
Update for Emacs-26

* nt/README.W32: Update details about packaging which changed for
  Emacs-26.

5 years ago* doc/lispref/display.texi (Showing Images): Fix a typo. (Bug#35240
Eli Zaretskii [Fri, 12 Apr 2019 18:46:25 +0000 (21:46 +0300)]
* doc/lispref/display.texi (Showing Images): Fix a typo.  (Bug#35240

5 years agoBump Emacs version to 26.2 emacs-26.2
Nicolas Petton [Thu, 11 Apr 2019 19:59:46 +0000 (21:59 +0200)]
Bump Emacs version to 26.2

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 26.2.

5 years ago* etc/HISTORY: Update for Emacs 26.2 release.
Nicolas Petton [Thu, 11 Apr 2019 19:59:28 +0000 (21:59 +0200)]
* etc/HISTORY: Update for Emacs 26.2 release.

5 years ago; ChangeLog.3 update
Nicolas Petton [Thu, 11 Apr 2019 19:58:20 +0000 (21:58 +0200)]
; ChangeLog.3 update

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Thu, 11 Apr 2019 19:57:49 +0000 (21:57 +0200)]
* etc/AUTHORS: Update.

5 years agoImprove documentation of 'read-command'
Eli Zaretskii [Thu, 11 Apr 2019 14:00:44 +0000 (17:00 +0300)]
Improve documentation of 'read-command'

* src/minibuf.c (Fread_command): Document the return value
when DEFAULT-VALUE is nil and the user enters nothing.
* doc/lispref/minibuf.texi (High-Level Completion): Document
the printed representation of a symbol whose name is empty.
(Bug#3522)

5 years ago; * CONTRIBUTE: Mention where to ask for the copyright assignment form.
Eli Zaretskii [Thu, 11 Apr 2019 13:37:02 +0000 (16:37 +0300)]
; * CONTRIBUTE: Mention where to ask for the copyright assignment form.

5 years agoFix an outdated URL in a comment
Eli Zaretskii [Thu, 11 Apr 2019 13:25:06 +0000 (16:25 +0300)]
Fix an outdated URL in a comment

* src/emacs.c: Fix reference to Cocoa CoreFoundation Release
Notes.  (Bug#35225)

5 years agoBackport: Fix comment-empty-lines docstring (bug#35152)
Basil L. Contovounesios [Thu, 4 Apr 2019 22:37:08 +0000 (23:37 +0100)]
Backport: Fix comment-empty-lines docstring (bug#35152)

* lisp/newcomment.el (comment-empty-lines): Consistently use US
commas in docstring.  Fix indentation of and typo in custom :type.

(cherry picked from commit 690c678fb6c1fb5b2f828f9bb90782bd0b01c399)

5 years agoBackport: Update documentation for indent-relative functions
Alex Branham [Tue, 26 Mar 2019 01:49:01 +0000 (20:49 -0500)]
Backport: Update documentation for indent-relative functions

* lisp/indent.el (indent-relative): Document what happens when there
  is no previous nonblank line.
* doc/lispref/text.texi (Relative Indent): Document
  indent-relative-first-indent-point instead of obsolete
  indent-relative-maybe. Fix documentation of which argument from
  'indent-relative' is used.

Bug#34858

(cherry picked from commit 10cd65878c741d2a22a1f2c36c54fcad4e516f72)

5 years agoUpdate nxml-mode.texi: completion now gives xmlns="-!-"
Noam Postavsky [Wed, 10 Apr 2019 23:29:38 +0000 (19:29 -0400)]
Update nxml-mode.texi: completion now gives xmlns="-!-"

* doc/misc/nxml-mode.texi (Completion): As of 2016-01-16 "* lisp/nxml:
Use standard completion; it also works for company-mode", completing
an attribute when there is only one candidate inserts both quotes.
Update the example accordingly.

5 years agoNote that choose-completion-string-functions funcs take four args
Eric Abrahamsen [Wed, 10 Apr 2019 03:13:47 +0000 (20:13 -0700)]
Note that choose-completion-string-functions funcs take four args

* lisp/simple.el (choose-completion-string-functions): Functions in
  this list actually need to accept four arguments, though the fourth
  should be ignored.

5 years agoAddress name conflicts in EIEIO documentation (bug#31660)
Gemini Lasswell [Thu, 22 Nov 2018 21:00:03 +0000 (13:00 -0800)]
Address name conflicts in EIEIO documentation (bug#31660)

* doc/misc/eieio.texi (Quick Start): Rename the class used in the
example from 'record' to 'person'.
(Building Classes): Advise user to check for name conflicts before
naming a class.  Add a missing apostrophe.
(Making New Objects): Correct grammar.  Rename the class used in the
example from 'record' to 'my-class'.

5 years agoClarify the TESTFN argument to `alist-get'
Mattias Engdegård [Tue, 9 Apr 2019 14:56:37 +0000 (16:56 +0200)]
Clarify the TESTFN argument to `alist-get'

* lisp/subr.el (alist-get):
Rephrase the initial text to clarify the meaning of the TESTFN argument.
It's an equality predicate, not a look-up function (Bug#35206).

(cherry picked from commit c81465580fe262f28ce47502c00f4afcbe3b8f8d)

5 years ago* src/editfns.c (Fnarrow_to_region): Doc fix. (Bug#35163)
Eli Zaretskii [Mon, 8 Apr 2019 16:53:48 +0000 (19:53 +0300)]
* src/editfns.c (Fnarrow_to_region): Doc fix.  (Bug#35163)

5 years agoFix doc strings of 'vc-version-diff' and 'vc-version-ediff'
Eli Zaretskii [Sat, 6 Apr 2019 08:48:36 +0000 (11:48 +0300)]
Fix doc strings of 'vc-version-diff' and 'vc-version-ediff'

* lisp/vc/vc.el (vc-version-diff, vc-version-ediff): Describe
arguments in the doc strings.  (Bug#35019)

5 years agoImprove documentation of set-window-start
Eli Zaretskii [Sat, 6 Apr 2019 08:22:13 +0000 (11:22 +0300)]
Improve documentation of set-window-start

* doc/lispref/windows.texi (Window Start and End):
* src/window.c (Fset_window_start): Document that reliable
setting of a window start position requires to adjust point to
be visible.  (Bug#34038)

5 years agoImprove documentation of window parameters
Eli Zaretskii [Sat, 6 Apr 2019 08:04:37 +0000 (11:04 +0300)]
Improve documentation of window parameters

* doc/lispref/windows.texi (Cyclic Window Ordering): Describe
the effect of the 'other-window' window parameter.
(Window Parameters): Improve the descriptions of window
parameters.  Move the detailed description of the
'quit-restore' window parameter from here...
(Quitting Windows): ...to here.  (Bug#35063)

5 years agoImprove commentary in frame.el
Eli Zaretskii [Sat, 6 Apr 2019 07:16:16 +0000 (10:16 +0300)]
Improve commentary in frame.el

* lisp/frame.el: Improve commentary for display-* functions.
(Bug#35058)

5 years agoFix typo in a doc string
Mauro Aranda [Fri, 5 Apr 2019 20:40:12 +0000 (17:40 -0300)]
Fix typo in a doc string

* lisp/autorevert.el (global-auto-revert-mode): Fix a typo.
(Bug#35165)

5 years ago; * src/fontset.c (set-fontset-font): Use uppercase arg in docstring
Alexander Gramiak [Thu, 4 Apr 2019 17:31:43 +0000 (11:31 -0600)]
; * src/fontset.c (set-fontset-font): Use uppercase arg in docstring

5 years agoSay which regexp ranges should be avoided
Paul Eggert [Wed, 20 Mar 2019 21:43:30 +0000 (14:43 -0700)]
Say which regexp ranges should be avoided

* doc/lispref/searching.texi (Regexp Special): Say that
regular expressions like "[a-m-z]" and "[[:alpha:]-~]" should
be avoided, for the same reason that regular expressions like
"+" and "*" should be avoided: POSIX says their behavior is
undefined, and they are confusing anyway.  Also, explain
better what happens when the bound of a range is a raw 8-bit
byte; the old explanation appears to have been obsolete
anyway.  Finally, say that ranges like "[\u00FF-\xFF]" that
mix non-ASCII characters and raw 8-bit bytes should be
avoided, since it’s not clear what they should mean.

5 years ago; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Wed, 20 Mar 2019 21:08:46 +0000 (22:08 +0100)]
; * lisp/ldefs-boot.el: Update.

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Wed, 20 Mar 2019 16:36:29 +0000 (17:36 +0100)]
* etc/AUTHORS: Update.

5 years ago* ; ChangeLog.3 update
Nicolas Petton [Wed, 20 Mar 2019 16:35:43 +0000 (17:35 +0100)]
* ; ChangeLog.3 update

5 years agoImprove indexing of the user manual
Eli Zaretskii [Wed, 20 Mar 2019 09:29:04 +0000 (11:29 +0200)]
Improve indexing of the user manual

* doc/emacs/search.texi (Word Search): Improve indexing of
"M-s M-w".

5 years agoFix url-copy-file arglist
Basil L. Contovounesios [Tue, 19 Mar 2019 16:00:18 +0000 (16:00 +0000)]
Fix url-copy-file arglist

* lisp/url/url-handlers.el: Silence byte-compiler.
(url-copy-file): Add 6th argument following change to copy-file in
2012-12-16T19:22:27+01:00!romain@orebokech.com. (bug#4410)

5 years ago; * admin/notes/bugtracker: Minor additions and updates.
Eli Zaretskii [Tue, 19 Mar 2019 12:26:14 +0000 (14:26 +0200)]
; * admin/notes/bugtracker: Minor additions and updates.

5 years agoFix downloading updates for packages with non-ASCII descriptions
Eli Zaretskii [Tue, 19 Mar 2019 11:16:50 +0000 (13:16 +0200)]
Fix downloading updates for packages with non-ASCII descriptions

* lisp/emacs-lisp/package.el (package--download-one-archive):
Make sure archive contents are written using UTF-8 encoding.
(Bug#34909)
(list-packages): Set buffer's encoding to UTF-8.

5 years ago* etc/NEWS: Remove temporary markers.
Nicolas Petton [Mon, 18 Mar 2019 21:49:50 +0000 (22:49 +0100)]
* etc/NEWS: Remove temporary markers.

5 years ago* doc/misc/cc-mode.texi (Config Basics): in @itemize, @asis -> @w{}
Alan Mackenzie [Fri, 15 Mar 2019 11:43:11 +0000 (11:43 +0000)]
* doc/misc/cc-mode.texi (Config Basics): in @itemize, @asis -> @w{}

5 years agoDon't clobber 'comint-input-autoexpand' in 'read-shell-command'
Eli Zaretskii [Fri, 15 Mar 2019 09:15:06 +0000 (11:15 +0200)]
Don't clobber 'comint-input-autoexpand' in 'read-shell-command'

* lisp/shell.el (shell-completion-vars): Set only the
buffer-local value of 'comint-input-autoexpand'.  (Bug#34815)

5 years agoDocument restrictions when setting window margins, fringes or scroll bars
Martin Rudalics [Wed, 13 Mar 2019 09:45:28 +0000 (10:45 +0100)]
Document restrictions when setting window margins, fringes or scroll bars

* src/window.c (Fset_window_margins, Fset_window_fringes)
(Fset_window_scroll_bars): In doc-strings tell that a window
must be large enough to accommodate fringes, sroll bars and
margins of the desired size.
* doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars)
(Display Margins): Tell that windows must be large enough to
accommodate fringes, sroll bars and margins of the desired
size.

5 years agoMore improvements for 'read-buffer's doc string
Eli Zaretskii [Sun, 10 Mar 2019 18:20:07 +0000 (20:20 +0200)]
More improvements for 'read-buffer's doc string

* src/minibuf.c (Fread_buffer): Further improve the doc
string.  (Bug#347694)

5 years ago* lisp/progmodes/cc-defs.el: Update c-version to 5.33.2 for Emacs 26.2
Alan Mackenzie [Sun, 10 Mar 2019 14:27:38 +0000 (14:27 +0000)]
* lisp/progmodes/cc-defs.el: Update c-version to 5.33.2 for Emacs 26.2

5 years ago* src/minibuf.c (Fread_buffer): Minor doc fixes. (Bug#34749)
Eli Zaretskii [Sat, 9 Mar 2019 18:20:47 +0000 (20:20 +0200)]
* src/minibuf.c (Fread_buffer): Minor doc fixes.  (Bug#34749)

5 years agoFix markup of fake keys in the ELisp manual
Eli Zaretskii [Sat, 9 Mar 2019 11:20:28 +0000 (13:20 +0200)]
Fix markup of fake keys in the ELisp manual

* doc/lispref/keymaps.texi (Menu Bar, Tool Bar): Fix markup of
fake keys.  (Bug#34785)

5 years agoAvoid errors in Auto Revert mode
Eli Zaretskii [Sat, 9 Mar 2019 10:51:33 +0000 (12:51 +0200)]
Avoid errors in Auto Revert mode

* lisp/autorevert.el (auto-revert-buffers): Cancel
auto-revert-timer only if it is non-nil.  This avoids errors
on first invocation of Auto-Revert mode.

5 years agoMention empty strings in file name expansion, emacs lisp reference
Michael Albinus [Sat, 9 Mar 2019 08:47:07 +0000 (09:47 +0100)]
Mention empty strings in file name expansion, emacs lisp reference

* doc/lispref/files.texi (Files, File Name Expansion):
Mention also empty strings.

5 years agocc-mode.texi: Work around makeinfo alignment bug. Fix problem with ss index
Alan Mackenzie [Fri, 8 Mar 2019 18:07:48 +0000 (18:07 +0000)]
cc-mode.texi: Work around makeinfo alignment bug.  Fix problem with ss index

* doc/misc/cc-mode.texi (top level): Using txicommandconditionals to
differentiate between the C and perl versions of Texinfo, create an "ss
index" unless we are both using the C Texinfo and are building the .dvi output
format.
(Config Basics): Work around a perl Texinfo alignment bug by writing a
separate version of an item list structure for this version, simplifying it
considerably.

5 years agoWarn against recursive invocations of 'buffer-list-update-hook' (Bug#34765)
Martin Rudalics [Fri, 8 Mar 2019 18:10:27 +0000 (19:10 +0100)]
Warn against recursive invocations of 'buffer-list-update-hook' (Bug#34765)

* src/buffer.c (Vbuffer_list_update_hook):
* doc/lispref/buffers.texi (Buffer List): Warn against
recursive invocations of 'buffer-list-update-hook' (Bug#34765).

5 years agoProvide more details in doc-string of 'delete-windows-on' (Bug#34749)
Martin Rudalics [Fri, 8 Mar 2019 18:04:35 +0000 (19:04 +0100)]
Provide more details in doc-string of 'delete-windows-on' (Bug#34749)

* lisp/window.el (delete-windows-on): Provide more details in
doc-string (Bug#34749).

5 years agoImprove documentation of 'delete-windows-on'
Eli Zaretskii [Fri, 8 Mar 2019 10:21:29 +0000 (12:21 +0200)]
Improve documentation of 'delete-windows-on'

* doc/emacs/windows.texi (Change Window): Document
'delete-windows-on'.

* lisp/window.el (delete-windows-on): Doc fix.  (Bug#34749)

5 years ago* lisp/frame.el (make-frame-command): Doc fix. (Bug#34715)
Eli Zaretskii [Fri, 8 Mar 2019 09:45:55 +0000 (11:45 +0200)]
* lisp/frame.el (make-frame-command): Doc fix.  (Bug#34715)

5 years agoAvoid undefined behavior in gdb-mi.el
Eli Zaretskii [Thu, 7 Mar 2019 15:16:43 +0000 (17:16 +0200)]
Avoid undefined behavior in gdb-mi.el

* lisp/progmodes/gdb-mi.el (gdb-send): Don't call match-string
if this is not a control command.  (Bug#34769)

5 years ago* lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.
Martin Rudalics [Wed, 6 Mar 2019 13:45:05 +0000 (14:45 +0100)]
* lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.

5 years agoMinor spelling and grammar fixes (bug#34756)
Basil L. Contovounesios [Tue, 5 Mar 2019 20:24:41 +0000 (20:24 +0000)]
Minor spelling and grammar fixes (bug#34756)

doc/misc/cc-mode.texi (Style Variables, Customizing Indentation):
doc/misc/ede.texi (Extending EDE, ede-project-placeholder)
(ede-target, ede-proj-target, ede-compilation-program, ede-compiler)
(ede-linker): Remove apostrophe from possessive "it's".
doc/lispintro/emacs-lisp-intro.texi (Find a File):
doc/misc/gnus-faq.texi (FAQ 2-2): Write "an other" as a single word.
doc/misc/gnus.texi (Article Buttons):
lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist)
(gnus-button-mid-or-mail-heuristic): Write singular number of
Message-IDs, rather than plural.
lisp/gnus/message.el (message-user-fqdn): Capitalize initialism.

5 years agoMinor improvement of documentation of '(when CONDITION . SPEC)'
Eli Zaretskii [Mon, 4 Mar 2019 17:49:47 +0000 (19:49 +0200)]
Minor improvement of documentation of '(when CONDITION . SPEC)'

* doc/lispref/display.texi (Other Display Specs): Add a caveat
to using the '(when CONDITION . SPEC)' display specs.

5 years agoImprove documentation of 'auto-coding-functions'
Eli Zaretskii [Sat, 2 Mar 2019 08:42:29 +0000 (10:42 +0200)]
Improve documentation of 'auto-coding-functions'

* doc/lispref/nonascii.texi (Default Coding Systems): Clarify
that the functions in 'auto-coding-functions' are called both
for decoding and for encoding.

* lisp/international/mule.el (auto-coding-functions): Doc fix.

5 years agoFix visiting XML files with non-Unix EOL format
Eli Zaretskii [Sat, 2 Mar 2019 08:32:06 +0000 (10:32 +0200)]
Fix visiting XML files with non-Unix EOL format

* lisp/international/mule.el (sgml-xml-auto-coding-function)
(sgml-html-meta-auto-coding-function): Don't use
'buffer-file-coding-system' if the buffer is unibyte.
(Bug#34704)

5 years agoUpdate example major mode code in Elisp manual
Basil L. Contovounesios [Tue, 26 Feb 2019 11:57:53 +0000 (11:57 +0000)]
Update example major mode code in Elisp manual

* doc/lispref/modes.texi (Example Major Modes): Update code examples
to reflect current state of lisp/textmodes/text-mode.el and
lisp/emacs-lisp/lisp-mode.el. (bug#34671)

5 years ago; Auto-commit of loaddefs files.
Glenn Morris [Fri, 1 Mar 2019 11:23:38 +0000 (06:23 -0500)]
; Auto-commit of loaddefs files.

5 years agoFix a typo in the Calc manual
Eli Zaretskii [Fri, 1 Mar 2019 10:30:47 +0000 (12:30 +0200)]
Fix a typo in the Calc manual

* doc/misc/calc.texi (Algebraic Tutorial): Fix parentheses in
@example.  (Bug#34689)

5 years agoMinor improvement in cross-references of the ELisp manual
Eli Zaretskii [Fri, 1 Mar 2019 10:25:40 +0000 (12:25 +0200)]
Minor improvement in cross-references of the ELisp manual

* doc/lispref/modes.texi (Minor Mode Conventions): Add
cross-references to related major-mode descriptions.  (Bug#34678)

5 years agoFix last change on 'compilation-parse-errors'
Tobias Bading [Mon, 25 Feb 2019 13:26:38 +0000 (14:26 +0100)]
Fix last change on 'compilation-parse-errors'

* lisp/progmodes/compile.el (compilation-parse-errors): Fix
previous change in this function.  (Bug#34479)

Copyright-paperwork-exempt: yes

5 years agoBackport: js--re-search-backward-inner: Fix infloop
Dmitry Gutov [Fri, 1 Feb 2019 00:01:39 +0000 (03:01 +0300)]
Backport: js--re-search-backward-inner: Fix infloop

Fix JS indentation infloop reported in
https://github.com/mooz/js2-mode/issues/513.

* lisp/progmodes/js.el (js--re-search-backward-inner): Account for
multiline string literals.
* test/manual/indent/js.js: New test example.

(cherry picked from commit b01a4295c2f9bb58858880e4e28b05cc8396791c)

5 years agoMinor improvement for docs of completion
Eli Zaretskii [Sat, 23 Feb 2019 13:31:15 +0000 (15:31 +0200)]
Minor improvement for docs of completion

* doc/lispref/minibuf.texi (Completion Commands)
(Completion in Buffers, Programmed Completion): Add to text
that references completion tables a cross-reference to where
"completion table" is described.
(Programmed Completion): Fix the description of
'completion-table-dynamic'.  Add more cross-references.

5 years ago; * src/image.c (imagemagick_load, svg_load): Fix typos in comments.
Eli Zaretskii [Sat, 23 Feb 2019 08:35:59 +0000 (10:35 +0200)]
; * src/image.c (imagemagick_load, svg_load): Fix typos in comments.

5 years agoDisable the timerfd interface on Cygwin
Ken Brown [Fri, 22 Feb 2019 14:53:52 +0000 (09:53 -0500)]
Disable the timerfd interface on Cygwin

* configure.ac (emacs_cv_have_timerfd): Set to "no" on Cygwin.

5 years agoFix a typo in the doc string of 'regex-opt'
Eli Zaretskii [Fri, 22 Feb 2019 08:12:14 +0000 (10:12 +0200)]
Fix a typo in the doc string of 'regex-opt'

* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix example in
the doc string.  (Bug#34596)

5 years agoDocument bash 5.0.0 misbehavior in tramp.texi (Bug#34192)
Michael Albinus [Thu, 21 Feb 2019 11:09:44 +0000 (12:09 +0100)]
Document bash 5.0.0 misbehavior in tramp.texi (Bug#34192)

* doc/misc/tramp.texi (Frequently Asked Questions): Warn about
bash 5.0.0 and HISTSIZE=0.  (Bug#34192)

5 years agoBump Emacs version to 26.1.92 emacs-26.1.92
Nicolas Petton [Wed, 20 Feb 2019 16:52:30 +0000 (17:52 +0100)]
Bump Emacs version to 26.1.92

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 26.1.92.

5 years ago; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Wed, 20 Feb 2019 16:52:24 +0000 (17:52 +0100)]
; * lisp/ldefs-boot.el: Update.

5 years ago* ; ChangeLog.3 update
Nicolas Petton [Wed, 20 Feb 2019 16:51:38 +0000 (17:51 +0100)]
* ; ChangeLog.3 update

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Wed, 20 Feb 2019 16:50:45 +0000 (17:50 +0100)]
* etc/AUTHORS: Update.

5 years agoRemove .art from the default list of ImageMagick extensions
Glenn Morris [Wed, 20 Feb 2019 06:04:19 +0000 (22:04 -0800)]
Remove .art from the default list of ImageMagick extensions

It seems that .art files can be non-image files that
ImageMagick mistakenly treats as extremely large images.
Real .art images seem rare.
* lisp/image.el (imagemagick-enabled-types): Remove ART.  (Bug#22289)

5 years agoFix input after setting x-wait-for-event-timeout nil
Eli Zaretskii [Tue, 19 Feb 2019 18:58:53 +0000 (20:58 +0200)]
Fix input after setting x-wait-for-event-timeout nil

* src/w32term.c (x_make_frame_visible): Call unblock_input
before returning early.  (Bug#34575)

5 years agoFix two warnings in eshell.texi
Martin Rudalics [Tue, 19 Feb 2019 08:55:51 +0000 (09:55 +0100)]
Fix two warnings in eshell.texi

* doc/misc/eshell.texi (Built-ins, Globbing): Fix `.' or `,'
must follow @xref, not `f' warnings.

5 years ago* lisp/minibuffer.el (completion-table-dynamic): Improve docstring
Stefan Monnier [Mon, 18 Feb 2019 18:00:44 +0000 (13:00 -0500)]
* lisp/minibuffer.el (completion-table-dynamic): Improve docstring

5 years ago* lisp/emacs-lisp/debug.el (debug-on-variable-change): Doc fix. (Bug#34518)
David Pathakjee [Mon, 18 Feb 2019 00:08:33 +0000 (16:08 -0800)]
* lisp/emacs-lisp/debug.el (debug-on-variable-change): Doc fix.  (Bug#34518)

Copyright-paperwork-exempt: yes