1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00
Commit Graph

125359 Commits

Author SHA1 Message Date
Philipp Stephani
f69bd7954f Clarify usage of 'ediff-cleanup-hook' (Bug#24675)
* doc/misc/ediff.texi (Hooks): Clarify usage of 'ediff-cleanup-hook'
2016-12-23 19:28:40 +01:00
Philipp Stephani
c04ac8a319 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.
2016-12-23 17:28:37 +01:00
Eli Zaretskii
272554a666 * lisp/desktop.el (desktop-buffers-not-to-save): Doc fix. 2016-12-23 11:36:04 +02:00
Stefan Monnier
08de101d75 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)
2016-12-23 10:53:31 +02:00
Martin Rudalics
86a297a43d 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.
2016-12-22 08:35:07 +01:00
Noam Postavsky
cf1f9852d0 ; lisp/skeleton.el (skeleton-insert): Fix typo in last change 2016-12-20 22:16:42 -05:00
Alan Mackenzie
9e1209d7a6 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.
2016-12-20 21:49:31 +00:00
Noam Postavsky
88cdf14b37 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.
2016-12-19 20:02:57 -05:00
Glenn Morris
ce5538248e ; Auto-commit of loaddefs file. 2016-12-19 13:26:17 -05:00
Eli Zaretskii
4179238fa8 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)
2016-12-19 20:00:09 +02:00
Eli Zaretskii
dfc9f114c7 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25 2016-12-19 19:59:00 +02:00
Eli Zaretskii
9adb101353 Document 'describe-fontset'
* doc/emacs/mule.texi (Fontsets): Document 'describe-fontset'.
(Bug#25216)
2016-12-19 19:57:22 +02:00
Eli Zaretskii
b9690b4bce Document 'describe-fontset'
* doc/emacs/mule.texi (Fontsets): Document 'describe-fontset'.
(Bug#25216)
2016-12-19 19:44:52 +02:00
Philipp Stephani
229315c0e2 ; Add missing symbol quoting.
* lisp/vc/ediff-util.el (ediff-janitor): Add missing symbol quoting.
2016-12-18 22:27:42 +01:00
Eli Zaretskii
3d94931cec 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)
2016-12-17 19:05:21 +02:00
Dmitry Gutov
43022f9860 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).
2016-12-17 01:52:12 +02:00
Eli Zaretskii
b19fb4995e 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)
2016-12-16 10:49:31 +02:00
Michael Albinus
467768f64e 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.
2016-12-11 10:50:17 +01:00
Glenn Morris
6db78ae97e Fix a typo in define-abbrev-table
* lisp/abbrev.el (define-abbrev-table): Fix typo in docstring handling.
2016-12-10 19:44:14 -08:00
Glenn Morris
5f7d906e88 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)
2016-12-10 18:23:51 -08:00
Glenn Morris
442e2f61b7 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)
2016-12-10 18:11:56 -08:00
Noam Postavsky
e4ac450796 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.
2016-12-10 16:00:01 -05:00
Glenn Morris
08decbd04b Doc fix for vc-git
* lisp/vc/vc-git.el (vc-git-region-history): Add a doc string.
2016-12-07 22:53:58 -08:00
Glenn Morris
5531e75385 Further improve make-dist checking
* make-dist: Print status messages when checking.
2016-12-07 19:45:48 -05:00
Glenn Morris
953bf67fbe Improve previous make-dist change
* make-dist: Let make check the info files more thoroughly.
2016-12-07 19:43:36 -05:00
Glenn Morris
129645a7a7 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.
2016-12-07 19:13:05 -05:00
Paul Eggert
eeecac7ab9 Fix minor quoting problems in doc strings 2016-12-07 11:31:16 -08:00
Philipp Stephani
da71c89ba3 * 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
2016-12-07 13:58:57 +01:00
Noam Postavsky
35ce3fb141 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.
2016-12-06 22:36:12 -05:00
Nicolas Petton
a3487a8121 Fix bug#25087
* etc/themes/manoj-dark-theme.el: Fix two typos.

(cherry picked from commit 66d6e7e9ec)
2016-12-02 13:08:49 -05:00
Eli Zaretskii
ba2847f5a5 ; * lisp/vc/ediff-util.el (ediff-janitor): Fix last change. (Bug#25046) 2016-12-02 16:35:16 +02:00
Eli Zaretskii
8b43f97e2c * lisp/vc/ediff-util.el (ediff-janitor): Doc fix. (Bug#25046) 2016-12-02 11:29:10 +02:00
Eli Zaretskii
c20035cd2b ; * doc/emacs/programs.texi (Man Page): Fix last change. 2016-12-02 11:14:11 +02:00
Eli Zaretskii
93d8346288 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)
2016-12-02 11:10:04 +02:00
Paul Eggert
c49198967a 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.
2016-12-01 23:17:26 -08:00
Richard Stallman
95eb641404 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 5fbba6ccea)
2016-12-01 19:56:14 -05:00
Martin Rudalics
d31298d8af 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'.
2016-12-01 10:51:11 +01:00
Bogdan Creanga
2086f4c0c6 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
2016-11-29 19:07:15 +09:00
Philipp Stephani
f6da597376 ; Revert "Guard terminal par. in XTerm mouse mode"
This reverts commit d4e15492f7.

Since emacs-25 should only contain regression fixes and doc fixes, this
commit was moved to the master branch.
2016-11-28 19:45:55 +01:00
Nicolas Petton
39809036d3
; Update ChangeLog.2, etc/AUTHORS and ldef-boot.el for Emacs 25.1.90 pretest 2016-11-28 19:04:23 +01:00
Eli Zaretskii
5878abf87b 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'.
2016-11-28 17:43:25 +02:00
Nicolas Petton
46065291fa
; ChangeLog.2 update 2016-11-28 16:24:59 +01:00
Nicolas Petton
9a857b922e
* admin/authors.el (authors-renamed-files-alist): Addition. 2016-11-28 16:24:21 +01:00
Glenn Morris
6d27423d38 Tweak refcard note about documentation location
* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/gnus-refcard.tex:
* etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
* etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
* etc/refcards/ru-refcard.tex, etc/refcards/sk-dired-ref.tex:
* etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
* etc/refcards/survival.tex, etc/refcards/vipcard.tex:
* etc/refcards/viperCard.tex: Tweak documentation url.
2016-11-27 16:38:56 -08:00
Glenn Morris
e46a13446a Improve treatment of Fortran's "class is"
* lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit):
Handle "class is".  (Bug#25039)
* test/automated/f90.el (f90-test-bug25039): New test.
2016-11-27 16:05:02 -08:00
Nicolas Petton
3674317311 Bump Emacs version to 25.1.90
* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 25.1.90
2016-11-28 00:01:35 +01:00
Nicolas Petton
938e316694 ; Revert "Bump Emacs version"
The version should be 25.1.90, not 25.2.90.

This reverts commit 596289bc8d.
2016-11-27 23:59:55 +01:00
Nicolas Petton
596289bc8d
Bump Emacs version
* README:
* configure.ac:
* etc/NEWS:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 25.2.90
2016-11-27 20:44:43 +01:00
Nicolas Petton
dcfe4d113a
; ChangeLog.2 update 2016-11-27 20:42:28 +01:00
Karl Fogel
93c0f5126a Handle TeX comments when making new paragraph
* lisp/textmodes/tex-mode.el (tex-handle-newline): New function.
  Handle comment case directly, and dispatch to `tex-terminate-paragraph'
  for original behavior in non-comment case.
  (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.
2016-11-25 23:44:48 -06:00