Eli Zaretskii [Sun, 22 May 2016 16:20:28 +0000 (19:20 +0300)]
Provide workaround for xftfont rendering problem
* src/xftfont.c (syms_of_xftfont) <xft-font-ascent-descent-override>:
New variable.
(xftfont_open): Use it to work around problems with rendering some
fonts. (Bug#23360)
Jun Hao [Sat, 21 May 2016 19:34:20 +0000 (12:34 -0700)]
* lisp/desktop.el: Disable restore frameset if in non-graphic display.
Fixes: debbugs:17693
Eli Zaretskii [Sat, 21 May 2016 07:19:32 +0000 (10:19 +0300)]
Mention GTK+ problems in etc/PROBLEMS
* etc/PROBLEMS (GDK_SCALE, GDK_DPI_SCALE): Mention the possible
problems this could create and the workaround. (Bug#23587)
Artur Malabarba [Wed, 18 May 2016 19:31:07 +0000 (16:31 -0300)]
* lisp/emacs-lisp/package.el (package-refresh-contents):
Don't change the value of `package-check-signature'.
(package-check-signature): Use `epg-find-configuration'
instead of `executable-find'.
Daiki Ueno [Fri, 20 May 2016 10:34:06 +0000 (19:34 +0900)]
Revert "epg: Add a way to detect gpg1 executable for tests"
This reverts commit
d4ae6d7033b34e8b75c59aaf1584131e439ef2d5.
Eli Zaretskii [Thu, 19 May 2016 19:57:53 +0000 (22:57 +0300)]
Avoid errors with Czech and Slovak input methods
* lisp/leim/quail/slovak.el (slovak, slovak-prog-1, slovak-prog-2)
(slovak-prog-3): Remove the kp-* key bindings, they are not needed
and cause errors in "C-u C-x =".
* lisp/leim/quail/czech.el (czech, czech-qwerty, czech-prog-1)
(czech-prog-2, czech-prog-3): Remove the kp-* key bindings.
(Bug#23559)
Daiki Ueno [Thu, 19 May 2016 09:05:19 +0000 (18:05 +0900)]
epg: Add a way to detect gpg1 executable for tests
Fixes bug#23561.
* test/automated/epg-tests.el
(epg-tests-program-alist-for-passphrase-callback): New
constant.
(epg-tests-find-usable-gpg-configuration): New function,
renamed from `epg-tests-gpg-usable'. All callers changed.
(epg-tests-gpg-usable): Remove.
* lisp/epg-config.el (epg-config--program-alist): Factor out
constructor element to...
(epg-config--configuration-constructor-alist): ...here.
(epg-find-configuration): Rename FORCE argument to NO-CACHE,
and add PROGRAM-ALIST argument.
Artur Malabarba [Wed, 18 May 2016 23:09:24 +0000 (20:09 -0300)]
* lisp/emacs-lisp/package.el: Fix free variable warnings.
(package--with-response-buffer): Replace two usages of
`macroexp-let2*' with `let'.
Artur Malabarba [Wed, 18 May 2016 20:58:56 +0000 (17:58 -0300)]
* lisp/emacs-lisp/package.el (package--with-response-buffer):
Fix some macro locals leaking into body. (Bug#22440)
* test/automated/package-test.el (package-test-signed):
Manually check all possible values of `package-check-signature'.
Eli Zaretskii [Wed, 18 May 2016 19:50:45 +0000 (22:50 +0300)]
Improve documentation of 'server-name'
* doc/emacs/misc.texi (Emacs Server): Fix example of setting
'server-name'. Mention how to do that with daemon sessions.
(Bug#23576)
Paul Eggert [Wed, 18 May 2016 08:05:00 +0000 (01:05 -0700)]
Modernize ASLR advice in etc/PROBLEMS
* etc/PROBLEMS (Segfault during 'make'): Modernize advice for
seccomp, Docker, and NetBSD (Bug#23529).
Juri Linkov [Tue, 17 May 2016 20:55:38 +0000 (23:55 +0300)]
* lisp/char-fold.el: Rename from character-fold.el.
* lisp/replace.el (replace-char-fold): Rename from replace-character-fold.
* test/automated/char-fold-tests.el: Rename from character-fold-tests.el.
http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00529.html
Nicolas Petton [Tue, 17 May 2016 17:00:52 +0000 (19:00 +0200)]
Bump version to 25.0.94
* README:
* configure.ac:
* msdos/sed2v2.inp: Bump Emacs version to 25.0.94.
Nicolas Petton [Tue, 17 May 2016 17:00:47 +0000 (19:00 +0200)]
etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Tue, 17 May 2016 16:59:48 +0000 (18:59 +0200)]
; Auto-commit of loaddefs files.
Alan Third [Mon, 16 May 2016 18:37:23 +0000 (20:37 +0200)]
Fix bug#23462: Crash when iconifying frame on OS X.
* src/nsterm.m (x_iconify_frame): Block input while miniaturize is
running.
Paul Eggert [Mon, 16 May 2016 17:05:19 +0000 (10:05 -0700)]
Avoid shrinking windows with Gtk+ 3.20.3
Problem reported by Matthias Clasen (Bug#23144).
This was fixed in a different way in master.
Do not merge to master.
* src/xterm.c (handle_one_xevent) [GTK_CHECK_VERSION (3, 20, 3)]:
Do not call xg_frame_resized in the MapNotify case.
Eli Zaretskii [Mon, 16 May 2016 15:14:54 +0000 (18:14 +0300)]
Fix bug in default setting of 'ps-paper-type'
* lisp/international/mule-cmds.el (set-locale-environment): Don't
inherit the value of locale from previous examination of different
environment variables, which didn't look at LC_PAPER, and so using
that value would effectively ignore the setting of LC_PAPER.
(Bug#23544)
Paul Eggert [Sat, 14 May 2016 01:23:05 +0000 (18:23 -0700)]
Properly reject malformed or empty package sigs
Problem report and fix by Lizzie Dixon (Bug#23513).
* lisp/emacs-lisp/package.el (package--check-signature-content):
Report an error if no good signatures OR if a fatal error. Not AND.
Copyright-paperwork-exempt: yes
Paul Eggert [Fri, 13 May 2016 16:51:32 +0000 (09:51 -0700)]
Remove buggy non-native image scrolling
This never worked, and could cause infinite recursion.
Problem reported by Glenn Morris (Bug#22465).
* lisp/xwidget.el (xwidget-webkit-scroll-behavior): Remove.
All uses removed.
Paul Eggert [Fri, 13 May 2016 14:41:07 +0000 (07:41 -0700)]
* doc/misc/texinfo.tex: Sync from gnulib.
Glenn Morris [Thu, 12 May 2016 17:35:27 +0000 (10:35 -0700)]
* lisp/emacs-lisp/find-func.el (find-feature-regexp)
(find-alias-regexp): Fix :version.
Dmitry Gutov [Thu, 12 May 2016 00:18:45 +0000 (03:18 +0300)]
Do not mistake colon at the end of regexp for slash symbol
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
Check the parse state in the "Symbols with special characters"
rule (bug#23515).
Dmitry Gutov [Wed, 11 May 2016 22:29:03 +0000 (01:29 +0300)]
Make package-install-from-buffer not move point
* lisp/emacs-lisp/package.el (package-install-from-buffer):
Use save-excursion here (bug#22616).
Dmitry Gutov [Wed, 11 May 2016 22:18:38 +0000 (01:18 +0300)]
; Revert "* emacs-lisp/lisp-mnt.el (lm-header): save-excursion"
This reverts commit
bf3f6a961f378f35a292c41c0bfbdae88ee1b1b9.
(Bug#22616)
Dmitry Gutov [Wed, 11 May 2016 21:48:37 +0000 (00:48 +0300)]
Redo the fix for bug#21839
* lisp/help.el (help-add-fundoc-usage): Undo the previous change.
(help--make-usage-docstring): Escape newlines when printing.
* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
Ditto (bug#21839).
Dmitry Gutov [Tue, 10 May 2016 23:26:54 +0000 (02:26 +0300)]
Don't treat JS spread as contination method call
* lisp/progmodes/js.el (js--indent-operator-re):
Allow only one dot (bug#23492).
* test/indent/js.js (default): Add a corresponding example.
Glenn Morris [Tue, 10 May 2016 11:18:12 +0000 (07:18 -0400)]
; Auto-commit of loaddefs files.
Dmitry Gutov [Mon, 9 May 2016 23:53:20 +0000 (02:53 +0300)]
Allow newlines inside cl function arglists
* lisp/help.el (help-add-fundoc-usage): Allow newlines inside
ARGLIST (bug#21839).
Dmitry Gutov [Mon, 9 May 2016 22:15:12 +0000 (01:15 +0300)]
Publicize cl--generic-all-functions
* lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
Rename from cl--generic-all-functions. Update both callers.
* lisp/cedet/semantic/db-el.el
(semanticdb-find-tags-external-children-of-type-method):
And use it here (bug#23042).
Michael Albinus [Mon, 9 May 2016 18:39:36 +0000 (20:39 +0200)]
; Fix typo
Alan Mackenzie [Mon, 9 May 2016 18:12:52 +0000 (18:12 +0000)]
Add some "safe-local-variable" declarations for compatibility with master.
These enable C files from the master repository to be visited in Emacs 25
without generating irritating questions about configuration variable safety.
* lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
functions.
(c-noise-macro-names, c-noise-macro-with-parens-names): give the
safe-local-variable property c-string-list-p.
(c-macro-names-with-semicolon): give the safe-local-variable property
c-string-or-string-list-p.
Lars Ingebrigtsen [Mon, 9 May 2016 15:08:58 +0000 (17:08 +0200)]
Fix doc string in `insert'
* src/editfns.c (Finsert_and_inherit): The before-insertion
markers do not move.
(Finsert): Ditto.
Paul Eggert [Sun, 8 May 2016 18:49:55 +0000 (11:49 -0700)]
* doc/misc/emacs-mime.texi (time-date): Document now-builtins better.
Dmitry Gutov [Sat, 7 May 2016 21:23:54 +0000 (00:23 +0300)]
Say 'All results processed' at the end
* lisp/progmodes/xref.el (xref--query-replace-1):
Say 'All results processed' at the end if the user hadn't
cancelled the process (bug#23284).
Eli Zaretskii [Sat, 7 May 2016 09:16:27 +0000 (12:16 +0300)]
Document automatic adjustment of process' logical window dimensions
* doc/lispref/processes.texi (Process Buffers): Document
'set-process-window-size' and
'window-adjust-process-window-size-function'.
* etc/NEWS: Mention the new functionality and variable.
* src/process.c (Fset_process_window_size): Improve the doc string.
Michael Albinus [Fri, 6 May 2016 15:53:18 +0000 (17:53 +0200)]
; Fix typos and stylistic glitches in NEWS
Michael Albinus [Thu, 5 May 2016 08:23:06 +0000 (10:23 +0200)]
tramp-sh.el: Work around a stat bug (backport from master)
* lisp/net/tramp-sh.el (tramp-get-remote-stat): Do not use
stat versions which produce shell quoted output. See also
coreutils Bug#23422.
(cherry picked from commit
6aad36ace9953b9672b13be68416d205532d5e59)
Paul Eggert [Thu, 5 May 2016 19:48:33 +0000 (12:48 -0700)]
Doc fixes for fclist and grep
A newline is needed between two fc-list calls.
egrep and fgrep have been withdrawn from POSIX,
so document grep -E and grep -F instead.
Paul Eggert [Thu, 5 May 2016 13:39:17 +0000 (06:39 -0700)]
Minor doc fixes for quoting
* doc/lispref/control.texi (Signaling Errors):
* doc/lispref/display.texi (Displaying Messages):
Don’t say that formats “generate”. Try to word more clearly.
* etc/NEWS: Coalesce near-duplicate entries.
Dmitry Gutov [Thu, 5 May 2016 13:01:52 +0000 (16:01 +0300)]
`nreverse' the marker pairs list
* lisp/progmodes/xref.el (xref--buf-pairs-iterator): `nreverse'
the marker pairs list for each buffer before returning.
Dmitry Gutov [Thu, 5 May 2016 01:28:14 +0000 (04:28 +0300)]
Use save-excursion in xref-location-marker more
* lisp/progmodes/elisp-mode.el (xref-location-marker): Use
save-excursion, in order not to alter the value of point if the
buffer is currently open in the background (problem reported by
Robert Weiner).
* lisp/progmodes/etags.el (xref-location-marker): Same.
Dmitry Gutov [Thu, 5 May 2016 01:15:23 +0000 (04:15 +0300)]
shell-quote-argument DIR when appropriate
* lisp/progmodes/project.el (project-file-completion-table):
`shell-quote-argument' DIR as well.
* lisp/progmodes/xref.el (xref--rgrep-command): Pass DIR through
`shell-quote-argument' (bug#23453). Thanks for Kaushal Modi for
pointing out the problem. Assert that DIR doesn't start with `~'.
Dmitry Gutov [Wed, 4 May 2016 23:52:34 +0000 (02:52 +0300)]
Rework xref-query-replace-in-results
* lisp/progmodes/xref.el (xref-query-replace-in-results): Collect
all xrefs from the buffer first, then delegate most of the
processing to the value returned by xref--buf-pairs-iterator.
(xref--buf-pairs-iterator): New function. Return an "iterator"
which partitions returned markers into buffers, and only processes
markers from one buffer at a time. When an xref is out of date,
skip it with a message instead of signaling error (bug#23284).
(xref--outdated-p): Extract from xref--buf-pairs-iterator. Trim
CR from both strings before comparing.
(xref--query-replace-1): Remove the variable current-buf, no need
to track it anymore. Simplify the filter-predicate and search
functions accordingly. Iterate over buffer-markers pairs returned
by the iterator, and call `perform-replace' for each of them. Use
multi-query-replace-map (bug#23284). Use `switch-to-buffer' every
time after the first, in order not to jump between windows.
* test/automated/xref-tests.el
(xref--buf-pairs-iterator-groups-markers-by-buffers-1)
(xref--buf-pairs-iterator-groups-markers-by-buffers-2)
(xref--buf-pairs-iterator-cleans-up-markers): New tests.
Juri Linkov [Wed, 4 May 2016 20:05:33 +0000 (23:05 +0300)]
* lisp/replace.el (query-replace-read-from): Use minibuffer-with-setup-hook
to set minibuffer-local value of text-property-default-nonsticky.
(Bug#23418, bug#23127)
Stephen Berman [Wed, 4 May 2016 19:52:32 +0000 (21:52 +0200)]
Fix todo-mode bug involving archived items (bug#23447)
* lisp/calendar/todo-mode.el (todo-jump-to-category): When jumping
from Todo Categories mode to a category with only archived items
and todo-skip-archived-categories is non-nil, make sure the
archive file buffer is in Todo Archive mode to prevent
todo-category-select from raising an error, and don't set
todo-current-todo-file, since that makes todo-show display the
archived category. Remove a no-op call to kill-buffer, which is
already called in todo-insert-category-line.
Glenn Morris [Wed, 4 May 2016 17:23:21 +0000 (13:23 -0400)]
; * etc/NEWS: Tiny edit. (Bug#23432)
Glenn Morris [Wed, 4 May 2016 02:36:40 +0000 (19:36 -0700)]
; * test/automated/xref-tests.el: Add copyright and license.
Dmitry Gutov [Tue, 3 May 2016 22:59:29 +0000 (01:59 +0300)]
Handle "empty line" regexp in xref searches
* lisp/progmodes/xref.el (xref--collect-matches-1): Stop after one
match if re-search-forward doesn't move point (bug#23426).
* test/automated/xref-tests.el
(xref-collect-matches-finds-an-empty-line-regexp-match):
Uncomment test.
Dmitry Gutov [Tue, 3 May 2016 22:38:02 +0000 (01:38 +0300)]
Add tests for xref-collect-matches
* test/automated/xref-tests.el: New file. Add tests for
xref-collect-matches.
Dmitry Gutov [Tue, 3 May 2016 22:02:43 +0000 (01:02 +0300)]
Use grep-find-ignored-directories instead of vc-directory-exclusion-list
* lisp/dired-aux.el (dired-do-find-regexp):
Use grep-find-ignored-directories instead of
vc-directory-exclusion-list. The result should be functionally
similar (the former uses the latter as the default value), but it
should be more consistent and appropriate WRT user
customizations.
(dired-do-find-regexp-and-replace): Update the docstring.
* lisp/dired.el: Update the corresponding autoloads.
* doc/emacs/dired.texi (Operating on Files): Update the
documentation accordingly.
Dmitry Gutov [Tue, 3 May 2016 21:42:43 +0000 (00:42 +0300)]
Clear buffer-undo-list when showing xrefs
* lisp/progmodes/xref.el (xref--show-xref-buffer): Clear
buffer-undo-list and temporarily bind it to t while rendering the
buffer contents.
Alan Mackenzie [Tue, 3 May 2016 20:27:48 +0000 (20:27 +0000)]
Note the quote translation in `message' in section "incompatible changes".
* etc/NEWS: Note that `message' translates quotes, that the translation
cannot be disabled, and that `format' can be used to get the old
behavior back.
Paul Eggert [Tue, 3 May 2016 20:30:21 +0000 (13:30 -0700)]
* etc/NEWS: Mention (message "%s" (format ...)).
Lars Ingebrigtsen [Tue, 3 May 2016 17:06:13 +0000 (19:06 +0200)]
(Common Keywords): Correct what missing :group means
* doc/lispref/customize.texi (Common Keywords): Correct what
missing :group means.
Eli Zaretskii [Tue, 3 May 2016 16:14:31 +0000 (19:14 +0300)]
Improve documentation of Dired's 'A' and 'Q' commands
* lisp/dired-aux.el (dired-do-find-regexp)
(dired-do-find-regexp-and-replace): Mention
'grep-find-ignored-files' and 'vc-directory-exclusion-list', and
also the fact that REGEXP should be palatable by Grep. (Bug#23426)
* lisp/dired.el: Update the corresponding autoload forms.
* doc/emacs/dired.texi (Operating on Files): Mention
'grep-find-ignored-files' and 'vc-directory-exclusion-list'.
(Bug#23429)
Paul Eggert [Tue, 3 May 2016 15:02:16 +0000 (08:02 -0700)]
Doc fixes for quoting
* doc/emacs/text.texi, doc/lispintro/emacs-lisp-intro.texi:
* doc/lispref/control.texi, doc/lispref/display.texi:
* doc/lispref/help.texi, doc/lispref/strings.texi, lisp/subr.el:
* src/callint.c, src/doprnt.c, src/editfns.c:
Document quoting a bit more systematically.
Problem reported by Alan Mackenzie (Bug#23425).
Lars Ingebrigtsen [Mon, 2 May 2016 22:08:31 +0000 (00:08 +0200)]
posnp doc clarification
* lisp/subr.el (posnp): Mention that a posn object is returned
from `event-start' (bug#18211).
Lars Ingebrigtsen [Mon, 2 May 2016 22:02:50 +0000 (00:02 +0200)]
Mention what a missing :group does
* doc/lispref/customize.texi (Common Keywords): Document that
a missing :group reuses the group from the preceding item (bug#21601).
Eli Zaretskii [Mon, 2 May 2016 19:57:06 +0000 (22:57 +0300)]
Fix documentation of dired-aux search/replace commands
* lisp/dired-aux.el (dired-do-find-regexp)
(dired-do-find-regexp-and-replace): Doc fixes. (Bug#23429)
* lisp/dired.el: Update the corresponding autoload forms.
Paul Eggert [Mon, 2 May 2016 17:06:04 +0000 (10:06 -0700)]
Fix quoting problem in cc-engine debug message
* lisp/progmodes/cc-engine.el (c-replay-parse-state-state):
Use "%s" format to pass through ‘'’ unscathed (Bug#23425), and
likewise for ‘`’, and ‘%’.
Philipp Stephani [Mon, 2 May 2016 15:57:30 +0000 (08:57 -0700)]
Add electric-quote-string unit test
* test/automated/electric-tests.el (electric-quote-string): New test.
Paul Eggert [Mon, 2 May 2016 15:56:02 +0000 (08:56 -0700)]
Don’t electrically quote ‘'’ in Python
Problem reported by Philipp Stephani (Bug#23387).
* lisp/electric.el (electric-quote-post-self-insert-function):
Do not requote a string starter or ender.
Dmitry Gutov [Sun, 1 May 2016 23:38:01 +0000 (02:38 +0300)]
`nreverse' Grep hits before passing them to xref--convert-hits
* lisp/progmodes/xref.el (xref-collect-matches): `nreverse' hits
before passing them to xref--convert-hits. Fixes a regression
from
cc0b7132.
Paul Eggert [Mon, 2 May 2016 01:01:19 +0000 (18:01 -0700)]
; Spelling fixes
Paul Eggert [Mon, 2 May 2016 00:58:42 +0000 (17:58 -0700)]
* doc/misc/texinfo.tex: Sync from gnulib.
Juri Linkov [Sun, 1 May 2016 20:30:51 +0000 (23:30 +0300)]
* lisp/isearch.el (isearch-forward-symbol-at-point): Add isearch-push-state.
(Bug#23410)
Michael Albinus [Sun, 1 May 2016 08:14:05 +0000 (10:14 +0200)]
tramp.texi: Revert last change due to backward compatibility
(cherry picked from commit
910f9a0a936aacbffe9b9b790d7f698dfd287aac)
Lars Ingebrigtsen [Sat, 30 Apr 2016 23:53:58 +0000 (01:53 +0200)]
cua-prefix-override-inhibit-delay doc fix
* lisp/emulation/cua-base.el
(cua-prefix-override-inhibit-delay): Typo fix in doc string
(bug#23401).
(cherry picked from commit
2b4c099822811ede787fc6e575bfbb17b3cc0681)
Lars Ingebrigtsen [Sat, 30 Apr 2016 23:08:23 +0000 (01:08 +0200)]
global-eldoc-mode doc fix
* lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
specific about what "applicable" means (bug#23071).
(cherry picked from commit
25e95b5dd8cd92e03788e589bf99a4b399f03114)
Lars Ingebrigtsen [Sat, 30 Apr 2016 22:26:00 +0000 (00:26 +0200)]
normal-top-level-add-subdirs-to-load-path doc fix
* lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
Doc fix (bug#21962).
(cherry picked from commit
28aaa6d20586e3330a23b017a65e56dd6461c003)
Lars Ingebrigtsen [Sat, 30 Apr 2016 22:16:42 +0000 (00:16 +0200)]
isearch-search-fun-function doc tweak
* lisp/isearch.el (isearch-search-fun-function): Mention what
the STRING parameter is (bug#21552).
(cherry picked from commit
cafc2a5940cdc523cfea6dcf1cf540f48367c62a)
Lars Ingebrigtsen [Sat, 30 Apr 2016 22:10:57 +0000 (00:10 +0200)]
Fill some imenu--index-alist doc lines
* lisp/imenu.el (imenu--index-alist): Fill some doc lines (bug#21269).
(cherry picked from commit
4b7bb8f596550628eaa83b82c0f7eabe59a84964)
Lars Ingebrigtsen [Sat, 30 Apr 2016 22:03:15 +0000 (00:03 +0200)]
Fmarker_position doc string clarification
* src/marker.c (Fmarker_position): Clarify the doc string
(bug#21231).
(cherry picked from commit
eeac7c57273cec3f9408b18392dd2bafe3be4450)
Lars Ingebrigtsen [Sat, 30 Apr 2016 21:54:16 +0000 (23:54 +0200)]
Further define-obsolete-* doc fixups
* lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
Fix up last change.
(define-obsolete-variable-alias): Ditto.
(cherry picked from commit
28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
Lars Ingebrigtsen [Sat, 30 Apr 2016 21:52:19 +0000 (23:52 +0200)]
Describe WHEN in all the define-obsolete- macros
* lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
Say more verbosely what WHEN is (bug#21225).
(define-obsolete-function-alias): Describe the WHEN parameter.
(define-obsolete-variable-alias): Ditto.
(cherry picked from commit
247c388f160581d207e41ca5926990bbf69d4a0f)
Lars Ingebrigtsen [Sat, 30 Apr 2016 21:40:42 +0000 (23:40 +0200)]
Mention with-silent-modifications in the lispref manual
* doc/lispref/text.texi (Changing Properties): Document
with-silent-modifications (bug#21171).
(cherry picked from commit
fcd0d854eef6e439d51e8f07cf734d5e34e502b3)
Lars Ingebrigtsen [Sat, 30 Apr 2016 21:34:29 +0000 (23:34 +0200)]
with-silent-modifications doc clarification
* lisp/subr.el (with-silent-modifications): Rearrange the doc
string a bit so that the most pertinent information is at the
top (bug#21171).
(cherry picked from commit
e0e70f030e69d9696a963a86f5f7caaff4df06eb)
Lars Ingebrigtsen [Sat, 30 Apr 2016 21:30:40 +0000 (23:30 +0200)]
clear-visited-file-modtime doc string fix
* lisp/files.el (clear-visited-file-modtime): Fix possibly
confusing doc string wording (bug#21169).
(cherry picked from commit
1aaeaf1450756a71c9254a2a5b174c72084ca67a)
Lars Ingebrigtsen [Sat, 30 Apr 2016 20:48:08 +0000 (22:48 +0200)]
Document mode mode line variables
* doc/lispref/modes.texi (Mode Line Variables): Document
`mode-line-front-space, `mode-line-misc-info',
`mode-line-end-spaces' (bug#21014).
(cherry picked from commit
bf7a630b0a5d3900f2afb0e7a881ce62e2b9f935)
Lars Ingebrigtsen [Sat, 30 Apr 2016 20:42:46 +0000 (22:42 +0200)]
Add a cross ref to Optional Mode Line
* doc/lispref/modes.texi (Mode Line Variables): Add a cross
reference to the Emacs mode line node that explains things
like `display-time-string' (bug#21002).
(cherry picked from commit
a3151a28789f413af73b14fbba557b2a587fca53)
Lars Ingebrigtsen [Sat, 30 Apr 2016 20:41:41 +0000 (22:41 +0200)]
Add a doc string to display-time-string
* lisp/time.el: Add a doc string to `display-time-string',
because it's referred to in the manual, and is too mysterious
otherwise (bug#21002).
(cherry picked from commit
45559c584e5a4ddeed1539b028b50b95baa372f8)
Lars Ingebrigtsen [Sat, 30 Apr 2016 19:43:18 +0000 (21:43 +0200)]
custom-buffer-style doc fix
* lisp/cus-edit.el (custom-buffer-style): Document the `tree'
value (bug#20724).
(cherry picked from commit
bcf0291d0cd02095b0809b1eb91f1e5c5c2ac5e3)
Lars Ingebrigtsen [Sat, 30 Apr 2016 19:28:51 +0000 (21:28 +0200)]
Rearrange the doc of query-replace slightly
* lisp/replace.el (query-replace): Move the mention of the
interactive prefix arg earlier so that users can find it
(bug#20654).
(cherry picked from commit
bcc10761c3b968fa4534718116a0a601ed7da389)
Lars Ingebrigtsen [Sat, 30 Apr 2016 19:13:48 +0000 (21:13 +0200)]
apropos-print doc fix
* lisp/apropos.el (apropos-print): Document the undocumented
parameters (bug#20520).
(cherry picked from commit
0714d7387812a151f59993ac77c7321724ef79b1)
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:31:39 +0000 (20:31 +0200)]
completion-table-with-predicate doc string fix
* lisp/minibuffer.el (completion-table-with-predicate): t ->
non-nil in the doc string (bug#20460).
(cherry picked from commit
b6a4d162208f239bc7804696d611ae52c686f138)
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:30:15 +0000 (20:30 +0200)]
Fill the completion-table-with-predicate doc string
* lisp/minibuffer.el (completion-table-with-predicate): Fill
the doc string (bug#20460).
(cherry picked from commit
207a31432c1ed8b548003a3e4af32c49aa3441e9)
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:21:11 +0000 (20:21 +0200)]
replace-match-maybe-edit doc clarification
* lisp/replace.el (replace-match-maybe-edit): Say what
MATCH-DATA is (bug#20304).
(cherry picked from commit
139874ba53c2e2de9868f8e5234d6ea2bcb97af8)
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:16:25 +0000 (20:16 +0200)]
add-timeout doc fix
* lisp/emacs-lisp/timer.el (add-timeout): Mention the return
value (bug#20181).
(cherry picked from commit
921b40476f597c84d7c34aa289cd43caeb389c4a)
Lars Ingebrigtsen [Sat, 30 Apr 2016 18:13:24 +0000 (20:13 +0200)]
Extremely minor doc fix in Choosing Window
* doc/lispref/windows.texi (Choosing Window): There's only one
action alist, I think (bug#20158).
(cherry picked from commit
6c7e7f421d02d9290d6d1d85320737371160aef7)
Lars Ingebrigtsen [Sat, 30 Apr 2016 17:20:12 +0000 (19:20 +0200)]
Transform mentions of `eval-after-load' to `with-eval-after-load'
* doc/lispref/loading.texi (Hooks for Loading): Update text to
not mention `eval-after-load' (bug#20038).
(cherry picked from commit
9392193be56eebdfac702a0bbb5e954088371c7a)
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:48:05 +0000 (18:48 +0200)]
cursor-type doc fix
* src/buffer.c (syms_of_buffer): Mention that cursor-type's
WIDHT/HEIGHT can't exceed the frame char size (bug#19215).
(cherry picked from commit
77c5f4554ebb3b7c7d49bc881e45a550f6c93987)
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:46:58 +0000 (18:46 +0200)]
Add a link from Tool Bar to Images
* doc/lispref/keymaps.texi (Tool Bar): Add a link to the
Images node (bug#19722).
(cherry picked from commit
da5d0786163a91400eced4fddba4a92b652458d1)
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:31:05 +0000 (18:31 +0200)]
(default-mode-line-format): More explicit obsolete info
* lisp/subr.el (default-mode-line-format): Be more explicit in
how default values are now handled (bug#19424).
(cherry picked from commit
9dc5f6d830e72420dc4d41c8f6ca1ca6b28609c0)
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:20:29 +0000 (18:20 +0200)]
Fcompare_buffer_substrings doc string clarification
* src/editfns.c (Fcompare_buffer_substrings): Extremely minor
doc string clarification (bug#19255).
(cherry picked from commit
aa692acbb598a1cc8219ed7a87dde25fd7626ba5)
Lars Ingebrigtsen [Sat, 30 Apr 2016 16:07:15 +0000 (18:07 +0200)]
insert-file-contents-literally doc fix
* lisp/files.el (insert-file-contents-literally): Say that the
parameters are explained in the other function (bug#18317).
(cherry picked from commit
b6481b19bc9592492b1f70dfecb4de6256f537fe)
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:57:57 +0000 (17:57 +0200)]
Fix custom types for cursor-in-non-selected-windows
* lisp/cus-start.el (standard): Use the same custom types for
cursor-in-non-selected-windows as for cursor-type (bug#19214).
(cherry picked from commit
b66bc0cced786e0320e1c3b0758bd3c434d4e8b5)
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:50:09 +0000 (17:50 +0200)]
Doc clarification to mwheel-scroll
* lisp/mwheel.el (mwheel-scroll): Mention that the restriction
does not apply to Windows (bug#19209).
(cherry picked from commit
696052b5fdfbc5c25dff3c6b081aebe70f6d06c7)
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:39:05 +0000 (17:39 +0200)]
Clarify the doc of eval-expression-print-format
* lisp/simple.el (eval-expression-print-format): Doc
clarification (bug#19114).
(cherry picked from commit
cd193a871f5a8e1c81ba86fc398ac382fa814383)
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:48:50 +0000 (16:48 +0200)]
Explictly explain that package-initialize loads the packages
* lisp/emacs-lisp/package.el (package-initialize): Be explicit
in saying that `package-initialize' obviates adjusting the
path or requiring the packages, as this is a question that
apparently comes up now and then (bug#18829).
(cherry picked from commit
619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)