]> code.delx.au - gnu-emacs/log
gnu-emacs
8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 2 May 2016 01:09:29 +0000 (18:09 -0700)]
Merge from origin/emacs-25

16e5e8e Fix last change to isearch-update (bug#23406)
b755d98 Autoload cursor-sensor-inhibit (bug#23406)
b52ebd4 org-map-entries: Fix org-agenda-prepare-buffers call
86aa409 Followup for last commit in the user manual
7004459 Improve doc string of 'set-goal-column'
ccdaf04 Fix the MSDOS build
ffe701c Remove \= from format string (bug#18190)
1c58fa1 Fix variable-pitch font on MS-Windows
c6077bf Restore follow-scroll-up/down to scrolling by the combined si...
b671e21 Revert unneeded change which harms syntactic parsing.  This f...
48b24c9 Correct indentation of ids in a C++ enum after a protection k...
5c3534f * lisp/window.el (window--process-window-list): No-op if no p...
734fb3a Port dumping to NetBSD with PaX
0255a70 Don't mistake `for' inside a function for a part of array com...

# Conflicts:
# src/Makefile.in

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 2 May 2016 01:07:58 +0000 (18:07 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

ff7e201 Fix bug#22891: wrong terminal width when a fringe width is zero.

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 2 May 2016 01:07:57 +0000 (18:07 -0700)]
Merge from origin/emacs-25

71fb0e0 Improve last change to vc-git-mode-line-string
6858e77 Todo mode doc bug fix
e55d0db Fix revision calculation in vc-git-mode-line-string
ca87b34 ; Fix errant revert ccb75d7
40bfebe Add Python 3.5 keyword "await"
fa7886a Add new keywords of Python 3.5
ccb75d7 Partially revert previous change.
8ee168a ; * etc/NEWS: Update entry about color fonts on OS X with a w...
b09ca27 Say why text-quoting-style is not a user option

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 2 May 2016 01:07:57 +0000 (18:07 -0700)]
; Merge from origin/emacs-25

The following commits were skipped:

935715a * lisp/emacs-lisp/autoload.el (update-directory-autoloads): F...
6ac9892 ; Auto-commit of loaddefs files.

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 2 May 2016 01:07:56 +0000 (18:07 -0700)]
Merge from origin/emacs-25

5a952eb Don't mention ~/.emacs.bmk literally in doc strings
c338cf3 * etc/NEWS: Explain why multicolor font display is disabled o...
c30d1b4 Port to Ubuntu 16.04 --enable-gcc-warnings

8 years agoMention the `find-library-name' changes
Lars Ingebrigtsen [Sun, 1 May 2016 23:49:01 +0000 (01:49 +0200)]
Mention the `find-library-name' changes

8 years agoFix text in menu in minor-mode-menu-from-indicator
Lars Ingebrigtsen [Sun, 1 May 2016 19:36:39 +0000 (21:36 +0200)]
Fix text in menu in minor-mode-menu-from-indicator

* lisp/mouse.el (minor-mode-menu-from-indicator): Don't
capitalize "Off" in "Turn Off" (bug#11028).

8 years agogitmerge: Add cherry pick to gitmerge-skip-regexp
David Engster [Sun, 1 May 2016 19:05:18 +0000 (21:05 +0200)]
gitmerge: Add cherry pick to gitmerge-skip-regexp

* gitmerge.el (gitmerge-skip-regexp): Add "cherry picked from commit",
  which is the string appended by 'git cherry-pick -x'.

8 years agoAllow `global-set-key' to bind keys under the `M-o' map
Lars Ingebrigtsen [Sun, 1 May 2016 19:15:06 +0000 (21:15 +0200)]
Allow `global-set-key' to bind keys under the `M-o' map

* lisp/subr.el (global-set-key): Allow binding keys under the
`M-o' map (bug#9730).

8 years agoAdd `size-indication-mode' to the menu on `mouse-1' "Top"
Lars Ingebrigtsen [Sun, 1 May 2016 17:42:35 +0000 (19:42 +0200)]
Add `size-indication-mode' to the menu on `mouse-1' "Top"

* lisp/bindings.el (mode-line-column-line-number-mode-map):
Add `size-indication-mode' to the menu (bug#5727).

8 years agoAllow finding libraries loaded manually outside the load-path
Lars Ingebrigtsen [Sun, 1 May 2016 16:38:07 +0000 (18:38 +0200)]
Allow finding libraries loaded manually outside the load-path

* lisp/emacs-lisp/find-func.el (find-library--from-load-path):
New function to find a library from a load path (bug#5661).
(find-library-name): Use it.

There are so many combinations of inputs and possibly entries in
`load-history' that the code looks like an entry in a code obfuscation
contest.  If anybody has a better implementation, please substitute.

But remember that the input given may be foo, foo.el, foo.elc, and the
entries in load-history may be foo.el, foo.elc and foo.el.gz, and we
want to return only foo.el and foo.el.gz.  *phew*

8 years agoAllow minibuffer prompts to use faces
Lars Ingebrigtsen [Sun, 1 May 2016 14:53:38 +0000 (16:53 +0200)]
Allow minibuffer prompts to use faces

* doc/lispref/minibuf.texi (Text from Minibuffer): Document
`minibuffer-prompt-properties' and explain how faces work in
the minibuffer prompt.

* src/minibuf.c (read_minibuf): If `face' is in
`minibuffer-prompt-properties', apply it to the end of the
face list to allow users to have their own faces on the
prompts (bug#16136).

8 years agoAdd R7RS syntax forms to scheme.el
Peter Feigl [Sun, 1 May 2016 11:43:37 +0000 (13:43 +0200)]
Add R7RS syntax forms to scheme.el

* lisp/progmodes/scheme.el (scheme-font-lock-keywords-2): Add
a number of special forms introduced in R7RS-small.
* lisp/progmodes/scheme.el (scheme-indent-function): Same.

Copyright-paperwork-exempt: yes

8 years ago; Replace mixed tabs/spaces in scheme.el with just spaces
Jorgen Schaefer [Sun, 1 May 2016 11:37:18 +0000 (13:37 +0200)]
; Replace mixed tabs/spaces in scheme.el with just spaces

* lisp/progmodes/scheme.el: Remove tabs in preparation for
upcoming patch.

8 years agoImplement horizontal scroll bars on NS
Alan Third [Sun, 1 May 2016 11:04:07 +0000 (13:04 +0200)]
Implement horizontal scroll bars on NS

* lisp/scroll-bar.el (horizontal-scroll-bars-available-p): Remove NS
check.
* lisp/term/ns-win.el: Remove custom NS scroll-bar handlers and bind
scroll-bar mouse clicks to standard handlers.
* src/nsterm.h (EmacsScroller): Add 'horizontal' property and rename
pixel_height to pixel_length.
* src/nsterm.m (x_set_window_size): Remove left-hand scroll-bar code. It
caused scroll-bars to be over-drawn and the best working solution
appears to be complete removal.
(ns_set_horizontal_scroll_bar): Rewrite to handle horizontal scrollers
correctly.
(ns_set_vertical_scroll_bar): Set width to actual scroller width.
(setFrame): Handle horizontal case.
(dealloc): Handle horizontal case.
(judge): Handle horizontal case.
(setPosition): Rename pixel_height to pixel_length.
(sendScrollEventAtLoc): Handle horizontal case.
(mouseDown): Handle horizontal case and general tidy up of code.
(mouseDragged): Handle horizontal case. Call sendScrollEventAtLoc with
absolute pixel size instead of ratio.
* src/window.h: Remove NS check.

8 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sun, 1 May 2016 10:26:12 +0000 (06:26 -0400)]
; Auto-commit of loaddefs files.

8 years agotramp.texi: Revert last change due to backward compatibility
Michael Albinus [Sun, 1 May 2016 08:14:05 +0000 (10:14 +0200)]
tramp.texi: Revert last change due to backward compatibility

8 years agoFix last change to isearch-update (bug#23406)
Leo Liu [Sun, 1 May 2016 03:03:59 +0000 (11:03 +0800)]
Fix last change to isearch-update (bug#23406)

* lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
  nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
  ...) form.

8 years agoFix the buffer-count patch (Bug#23394)
Paul Eggert [Sun, 1 May 2016 00:50:17 +0000 (17:50 -0700)]
Fix the buffer-count patch (Bug#23394)

* src/buffer.c (Fgenerate_new_buffer_name): Increment count just
once each time through the loop.  Reported by Lars Ingebrigtsen in:
http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00918.html

8 years agocua-prefix-override-inhibit-delay doc fix
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).

8 years agoFix generate-new-buffer-name increment typo
Paul Eggert [Sat, 30 Apr 2016 23:36:36 +0000 (16:36 -0700)]
Fix generate-new-buffer-name increment typo

Problem reported by Chaitanya Koparkar (Bug#23394).
* src/buffer.c (Fgenerate_new_buffer_name): Increment count when
generating a new buffer.  This fixes a typo I introduced in
2014-04-05T00:04:58Z!eggert@cs.ucla.edu.

8 years agoglobal-eldoc-mode doc fix
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).

8 years agoMake the legend in describe-categories a link
Lars Ingebrigtsen [Sat, 30 Apr 2016 22:45:39 +0000 (00:45 +0200)]
Make the legend in describe-categories a link

* lisp/help-fns.el (describe-categories): Make the "see
bottom" text a link (bug#22227).

8 years agonormal-top-level-add-subdirs-to-load-path doc fix
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).

8 years agoisearch-search-fun-function doc tweak
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).

8 years agoFill some imenu--index-alist doc lines
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).

8 years agoMake describe-variable look up the variable in the current buffer
Lars Ingebrigtsen [Sat, 30 Apr 2016 22:08:52 +0000 (00:08 +0200)]
Make describe-variable look up the variable in the current buffer

* lisp/help-fns.el (describe-variable): Get the variable
definition in the buffer we were called from (in case it only
exists there) (bug#21252).

8 years agoFmarker_position doc string clarification
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).

8 years agoFurther define-obsolete-* doc fixups
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.

8 years agoDescribe WHEN in all the define-obsolete- macros
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.

8 years agoMention with-silent-modifications in the lispref manual
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).

8 years agowith-silent-modifications doc clarification
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).

8 years agoclear-visited-file-modtime doc string fix
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).

8 years agoDocument mode mode line variables
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).

8 years agoAdd a cross ref to Optional Mode Line
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).

8 years agoAdd a doc string to display-time-string
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).

8 years agocustom-buffer-style doc fix
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).

8 years agoDocument how to check for ImageMagick support
Lars Ingebrigtsen [Sat, 30 Apr 2016 19:39:21 +0000 (21:39 +0200)]
Document how to check for ImageMagick support

* doc/lispref/display.texi (ImageMagick Images): Say how to
check for ImageMagick support, which isn't quite obvious
(bug#20702).

8 years agoMinor doc fix for ImageMagick/SVG builds
Lars Ingebrigtsen [Sat, 30 Apr 2016 19:36:58 +0000 (21:36 +0200)]
Minor doc fix for ImageMagick/SVG builds

* doc/lispref/display.texi (SVG Images): Don't imply that you
have to build Emacs yourself (bug#20702).
(ImageMagick Images): Ditto.

8 years agoRearrange the doc of query-replace slightly
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).

8 years agoapropos-print doc fix
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).

8 years agocompletion-table-with-predicate doc string fix
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).

8 years agoFill the completion-table-with-predicate doc string
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).

8 years agoreplace-match-maybe-edit doc clarification
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).

8 years agoadd-timeout doc fix
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).

8 years agoExtremely minor doc fix in Choosing Window
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).

8 years ago* .dir-locals: Amend for correct fontification of *.[ch] containing "IF_LINT"
Alan Mackenzie [Sat, 30 Apr 2016 17:28:24 +0000 (17:28 +0000)]
* .dir-locals:  Amend for correct fontification of *.[ch] containing "IF_LINT"

8 years agoTransform mentions of `eval-after-load' to `with-eval-after-load'
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).

8 years agocursor-type doc fix
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).

8 years agoAdd a link from Tool Bar to Images
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).

8 years agoCC Mode: Recognize a noise macro with parens after a declarator's identifier
Alan Mackenzie [Sat, 30 Apr 2016 16:37:41 +0000 (16:37 +0000)]
CC Mode: Recognize a noise macro with parens after a declarator's identifier

* lisp/progmodes/cc-engine (c-forward-decl-or-cast-1): In the while loop
following comment "Skip over type decl suffix operators." insert code also
to check for noise macros with parentheses.

8 years ago(default-mode-line-format): More explicit obsolete info
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).

8 years agoFcompare_buffer_substrings doc string clarification
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).

8 years agoinsert-file-contents-literally doc fix
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).

8 years agoFix custom types for cursor-in-non-selected-windows
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).

8 years agoDoc clarification to mwheel-scroll
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).

8 years agoClarify the doc of eval-expression-print-format
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).

8 years agoAutoload cursor-sensor-inhibit (bug#23406)
Leo Liu [Sat, 30 Apr 2016 15:35:27 +0000 (23:35 +0800)]
Autoload cursor-sensor-inhibit (bug#23406)

* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
* lisp/isearch.el (isearch-update): Remove boundp check.

8 years ago(extended-command-suggest-shorter): Add a version string
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:30:59 +0000 (17:30 +0200)]
(extended-command-suggest-shorter): Add a version string

* lisp/simple.el (extended-command-suggest-shorter): Add a
version string.

8 years agoDocument extended-command-suggest-shorter
Lars Ingebrigtsen [Sat, 30 Apr 2016 15:29:46 +0000 (17:29 +0200)]
Document extended-command-suggest-shorter

* doc/emacs/m-x.texi (M-x): Mention
extended-command-suggest-shorter (bug#19152).

8 years agoAdd a variable to control "shorter command" suggestions
Ivan Shmakov [Sat, 30 Apr 2016 15:24:57 +0000 (17:24 +0200)]
Add a variable to control "shorter command" suggestions

* lisp/simple.el (extended-command-suggest-shorter): New variable (bug#19152).
(execute-extended-command): Use it.

8 years agoExplictly explain that package-initialize loads the packages
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).

8 years agoHave the doc strings of `load-path' and `require' mention each other
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:44:06 +0000 (16:44 +0200)]
Have the doc strings of `load-path' and `require' mention each other

* src/fns.c (Frequire): Mention `load-path' and fill the doc
string (bug#18829).

* src/lread.c (syms_of_lread): Mention that `require' uses
`load-path'.

8 years agoDoc fix for insert-pair-alist
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:28:52 +0000 (16:28 +0200)]
Doc fix for insert-pair-alist

* lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
COMMAND-CHAR is (bug#18809).

8 years agoMove doc of backup-directory-alist to the Backup node
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:21:54 +0000 (16:21 +0200)]
Move doc of backup-directory-alist to the Backup node

* doc/emacs/files.texi (Backup): Move the documentation of
`backup-directory-alist' here from the "Single or Numbered
Backups" node, because it doesn't seem to have much to do with
numbering (bug#18692).

8 years agoTiny doc clarification for create-fontset-from-fontset-spec
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:15:46 +0000 (16:15 +0200)]
Tiny doc clarification for create-fontset-from-fontset-spec

* lisp/international/fontset.el (create-fontset-from-fontset-spec):
Clarify what the optional part is (bug#18686).

8 years agoFill the doc string of font-lock-keywords
Lars Ingebrigtsen [Sat, 30 Apr 2016 14:08:07 +0000 (16:08 +0200)]
Fill the doc string of font-lock-keywords

* lisp/font-lock.el (font-lock-keywords): Fill the lines and
reorganise some explanations (bug#21427).

8 years agoDoc fix for font-lock-remove-keywords
Lars Ingebrigtsen [Sat, 30 Apr 2016 13:55:44 +0000 (15:55 +0200)]
Doc fix for font-lock-remove-keywords

* lisp/font-lock.el (font-lock-remove-keywords): Add a link to
`font-lock-add-keywords' to describe KEYWORDS (bug#18634).

8 years agoorg-map-entries: Fix org-agenda-prepare-buffers call
Phillip Lord [Sat, 30 Apr 2016 07:43:39 +0000 (08:43 +0100)]
org-map-entries: Fix org-agenda-prepare-buffers call

* lisp/org.el (org-map-entries): Check that buffer-file-name is non-nil
  before passing to org-agenda-prepare-buffers.

This is a backport of commit 44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
from upstream org-mode. Addresses bug #23365.

8 years agoClarify whitespace-style doc string
Lars Ingebrigtsen [Sat, 30 Apr 2016 13:27:09 +0000 (15:27 +0200)]
Clarify whitespace-style doc string

* lisp/whitespace.el (whitespace-style): Doc clarification
(bug#18296).

8 years agoFollowup for last commit in the user manual
Eli Zaretskii [Sat, 30 Apr 2016 11:18:43 +0000 (14:18 +0300)]
Followup for last commit in the user manual

* doc/emacs/basic.texi (Moving Point): Clarify that
set-goal-column has buffer-local effect.  (Bug#23405)

8 years agoImprove doc string of 'set-goal-column'
Eli Zaretskii [Sat, 30 Apr 2016 11:14:57 +0000 (14:14 +0300)]
Improve doc string of 'set-goal-column'

* lisp/simple.el (set-goal-column): Doc fix.  (Bug#23405)

8 years agoFix the MSDOS build
Eli Zaretskii [Sat, 30 Apr 2016 10:45:33 +0000 (13:45 +0300)]
Fix the MSDOS build

* config.bat:
* msdos/sedlisp.inp:
* msdos/sedlibmk.inp:
* msdos/sedleim.inp:
* msdos/sedadmin.inp:
* msdos/sed6.inp:
* msdos/sed3v2.inp:
* msdos/sed2v2.inp:
* msdos/sed1v2.inp: Adapt to Emacs 25.

* src/process.c (remove_slash_colon): Move out of "#ifdef
subprocesses" block, as it its called unconditionally.  Move
ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
reference variables only defined in that block.
* src/msdos.h: Provide prototypes for IT_set_frame_parameters,
faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
dos_keysns, dos_keyread, run_msdos_command, and
syms_of_win16select, to avoid compiler warnings.
* src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
'environ', depending on the DJGPP version.
Remove declarations of externally-visible Lisp objects, like
Qbackground_color and Qreverse.
(run_msdos_command): First argument is not signed, not unsigned.
Use SYS_ENVIRON.
(sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
the latter doesn't work when 'time_t' is an unsigned data type.
This caused idle timers to behave incorrectly: they only fired
after a keyboard input event.
* src/frame.c (adjust_frame_size) [MSDOS]: Account for
FRAME_TOP_MARGIN that isn't counted in the frame's number of
lines, but dos_set_window_size needs it to be added.
* src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
* src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
that works around compilation errors with older GCC versions.
* src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
Objects.
* src/filelock.c [MSDOS]: Ifdef away most of the code.  Provide
no-op implementations for 'lock_file' and 'unlock_file'.
(Ffile_locked_p) [MSDOS]: Always return nil.  This avoids multiple
ifdefs in all users of filelock.c functionality.
* src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
* src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
warnings.
* src/dosfns.h: Provide prototypes for dos_cleanup,
syms_of_dosfns, and init_dosfns.
* src/deps.mk (atimer.o): Depend on msdos.h.
(emacs.o): Depend on dosfns.h.
* src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
warnings.

* lisp/window.el (window--adjust-process-windows): Skip the body
if 'process-list' is not available.  This avoids failure to start
up on MS-DOS.
* lisp/vc/diff.el (diff-no-select): Test 'make-process', not
'start-process', as the latter is now available on all platforms.
* lisp/textmodes/ispell.el (ispell-async-processp): Replace
'start-process' with 'make-process' in a comment.
* lisp/term/internal.el (IT-unicode-translations): Modify and add
a few translations to display Info files with Unicode markup.  Fix
an ancient off-by-one mismatch error with Unicode codepoints.
* lisp/progmodes/compile.el (compilation-start): Test
'make-process', not 'start-process', as the latter is now
available on all platforms.
* lisp/man.el (Man-build-man-command, Man-getpage-in-background):
Test 'make-process', not 'start-process', as the latter is now
available on all platforms.
* lisp/international/mule-cmds.el (set-coding-system-map): Test
'make-process', not 'start-process', as the latter is now
available on all platforms.
* lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
fix.
(eshell-execute-pipeline): Test 'make-process', not
'start-process', as the latter is now available on all platforms.

8 years agoRemove \= from format string (bug#18190)
Andreas Schwab [Sat, 30 Apr 2016 10:16:55 +0000 (12:16 +0200)]
Remove \= from format string (bug#18190)

* lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
string.

8 years agoFix variable-pitch font on MS-Windows
Eli Zaretskii [Sat, 30 Apr 2016 09:56:03 +0000 (12:56 +0300)]
Fix variable-pitch font on MS-Windows

* lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
explicitly, to avoid Emacs picking up a bold-italic variant on
some MS-Windows systems.  See this thread for details:
http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.

8 years agoNo need to test for jka-compr
Lars Ingebrigtsen [Sat, 30 Apr 2016 00:37:26 +0000 (02:37 +0200)]
No need to test for jka-compr

* lisp/vc/ediff-util.el (ediff-file-compressed-p): jka-compr
is always available; no need to test (bug#18204).

8 years agoDoc fixed for next-error-buffer-p
Lars Ingebrigtsen [Sat, 30 Apr 2016 00:03:24 +0000 (02:03 +0200)]
Doc fixed for next-error-buffer-p

* lisp/simple.el (next-error-buffer-p): Clarify doc string
(bug#18202).

8 years agoTiny doc fix
Lars Ingebrigtsen [Fri, 29 Apr 2016 23:26:17 +0000 (01:26 +0200)]
Tiny doc fix

* src/fileio.c (Ffile_accessible_directory_p): Tiny doc fix
(and fill) (bug#18201).

8 years agoDoc fix
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:54:13 +0000 (00:54 +0200)]
Doc fix

* src/keymap.c (Fdefine_prefix_command): Clarify doc string
slightly (bug#18092).

8 years agodelsel doc touch ups
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:37:31 +0000 (00:37 +0200)]
delsel doc touch ups

* lisp/delsel.el (delete-selection-helper): Use non-nil
instead of t and clarify function return values (bug#18089).

8 years agoDoc fixes for menu-bar.el
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:11:15 +0000 (00:11 +0200)]
Doc fixes for menu-bar.el

* lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
REGION parameter (bug#18028).
(clipboard-kill-region): Ditto.

8 years agoDoc fix
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:08:07 +0000 (00:08 +0200)]
Doc fix

* lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).

8 years agoMinor doc clarification
Lars Ingebrigtsen [Fri, 29 Apr 2016 22:02:46 +0000 (00:02 +0200)]
Minor doc clarification

* lisp/subr.el (y-or-n-p): Document the return value from "n"
(bug#18024).

8 years agoFill font-lock-mode doc string
Lars Ingebrigtsen [Fri, 29 Apr 2016 21:53:12 +0000 (23:53 +0200)]
Fill font-lock-mode doc string

* lisp/font-core.el (font-lock-mode): Fill the text to make it
narrower (bug#18008).

8 years agoWrap the auto-generated doc string
Lars Ingebrigtsen [Fri, 29 Apr 2016 21:25:07 +0000 (23:25 +0200)]
Wrap the auto-generated doc string

* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
string to make it less likely that we get overlong lines
(bug#17999).

8 years agoClarify hi-lock-find-patterns
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:53:42 +0000 (22:53 +0200)]
Clarify hi-lock-find-patterns

* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
(bug#17989).

8 years agoWarning fix in jit-lock-mode
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:44:13 +0000 (22:44 +0200)]
Warning fix in jit-lock-mode

* lisp/jit-lock.el (jit-lock-mode): Don't issue a warning when
turning the mode on in an indirect buffer, if this somehow has
happened (bug#17738).

8 years agoAdd a doc string to `winner-mode'
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:28:02 +0000 (22:28 +0200)]
Add a doc string to `winner-mode'

* lisp/winner.el (winner-mode): Add a doc string based on the
comments in the file (bug#17716).

8 years agoDoc fix for align-newline-and-indent
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:14:05 +0000 (22:14 +0200)]
Doc fix for align-newline-and-indent

* lisp/align.el (align-newline-and-indent): Mention that
alignment is done by `align' (bug#17707).

8 years agoCancel the eldoc timer when switching off eldoc mode
Lars Ingebrigtsen [Fri, 29 Apr 2016 20:06:37 +0000 (22:06 +0200)]
Cancel the eldoc timer when switching off eldoc mode

* lisp/emacs-lisp/eldoc.el (eldoc-mode): Cancel the eldoc
timer when switching off eldoc mode.  It will be restarted
again if needed (bug#17582).

8 years agoDoc fix for `kbd'
Lars Ingebrigtsen [Fri, 29 Apr 2016 18:27:22 +0000 (20:27 +0200)]
Doc fix for `kbd'

* lisp/subr.el (kbd): Describe more fully the format of the
parameter (bug#17039).

8 years ago; Comment tweak.
Glenn Morris [Fri, 29 Apr 2016 17:31:45 +0000 (13:31 -0400)]
; Comment tweak.

8 years agoAdd a sanity check to apropos-documentation-internal
Lars Ingebrigtsen [Fri, 29 Apr 2016 16:22:58 +0000 (18:22 +0200)]
Add a sanity check to apropos-documentation-internal

* lisp/apropos.el (apropos-documentation-internal): Add a
sanity check to be less fragile in the presence of invalid
data (bug#16725).

8 years agoDoc tweak
Lars Ingebrigtsen [Fri, 29 Apr 2016 15:54:55 +0000 (17:54 +0200)]
Doc tweak

* lisp/simple.el (use-empty-active-region): Doc tweak.
There's only one region (bug#16513).

8 years agoClarify `read-face-name' doc and tweak the code
Lars Ingebrigtsen [Fri, 29 Apr 2016 15:38:26 +0000 (17:38 +0200)]
Clarify `read-face-name' doc and tweak the code

* lisp/faces.el (read-face-name): Clarify the documentation
and allow a mix of faces and faces names in all cases
(bug#16483).

8 years agoRestore follow-scroll-up/down to scrolling by the combined size of all windows
Alan Mackenzie [Fri, 29 Apr 2016 14:58:21 +0000 (14:58 +0000)]
Restore follow-scroll-up/down to scrolling by the combined size of all windows

Also rename the current follow-scroll-up/down functions to
follow-scroll-up-window and follow-scroll-down-window.  These scroll by the
height of the current window.

This fixes bug #23347.

* lisp/follow.el (follow-mode): Tweak the doc string.
(follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
follow-scroll-up/down.
(follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
follow-scroll-up/down.
(follow-scroll-up, follow-scroll-down): Restore the historic functionality.

8 years agoRemove ": ?" from the read-face-name prompt
Lars Ingebrigtsen [Fri, 29 Apr 2016 14:41:13 +0000 (16:41 +0200)]
Remove ": ?" from the read-face-name prompt

* lisp/faces.el (read-face-name): Remove ": ?" from the prompt
to be more backwards compatible (bug#15909).

8 years agoRevert unneeded change which harms syntactic parsing. This fixes bug #23308.
Alan Mackenzie [Fri, 29 Apr 2016 14:36:33 +0000 (14:36 +0000)]
Revert unneeded change which harms syntactic parsing.  This fixes bug #23308.

* lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
regardless of the value of `here'.

8 years agoLink from (emacs)Exiting to (lisp)Killing Emacs
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:52:18 +0000 (15:52 +0200)]
Link from (emacs)Exiting to (lisp)Killing Emacs

* doc/emacs/entering.texi (Exiting): Link to the lispref
manual for further customisations (bug#15445).

8 years agofind-lisp doc touchups
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:37:08 +0000 (15:37 +0200)]
find-lisp doc touchups

* lisp/find-lisp.el (find-lisp-format): Copy over the doc
string (bug#15047).
(find-lisp-find-files): Clarify doc.