]> code.delx.au - gnu-emacs/log
gnu-emacs
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 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 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 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 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 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 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.

8 years agoDon't have the manual claim that it lists all CL incompatibilities
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:26:25 +0000 (15:26 +0200)]
Don't have the manual claim that it lists all CL incompatibilities

* doc/misc/cl.texi (Common Lisp Compatibility): The list of
incompatibilities isn't exhaustive, so don't say that it is
(bug#15171).

8 years agoFix call of `kmacro-display'
Lars Ingebrigtsen [Fri, 29 Apr 2016 13:23:38 +0000 (15:23 +0200)]
Fix call of `kmacro-display'

* lisp/kmacro.el (kmacro-view-ring-2nd): Fix call of
`kmacro-display' (bug#15020).

8 years agoChange all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
Lars Ingebrigtsen [Fri, 29 Apr 2016 12:36:23 +0000 (14:36 +0200)]
Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"

* doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to
"mouse-[0-9]".  These are case sensitive, and the keys are lower case
(bug#14554).

8 years agoRename "Directory Search" menu to "Servers"
Lars Ingebrigtsen [Fri, 29 Apr 2016 01:15:59 +0000 (03:15 +0200)]
Rename "Directory Search" menu to "Servers"

* lisp/menu-bar.el (menu-bar-tools-menu): Rename "Directory
Search" to "Directory Servers".  Suggested by Eli
Zaretskii. (bug#14919).

* lisp/net/eudc.el: Rename ditto throughout.

8 years agoRemove uses of the unused to-end parameter from simple.el
Lars Ingebrigtsen [Fri, 29 Apr 2016 00:40:13 +0000 (02:40 +0200)]
Remove uses of the unused to-end parameter from simple.el

* lisp/simple.el (line-move-partial): Remove usages of the
unused to-end parameter, and make it optional (bug#14844).
(line-move): Remove use of the unused to-end parameter.

8 years agoDoc fix: _ chars are automatically removed.
Lars Ingebrigtsen [Thu, 28 Apr 2016 23:41:34 +0000 (01:41 +0200)]
Doc fix: _ chars are automatically removed.

* lisp/cus-edit.el (custom-buffer-create): _ chars are
automatically removed when displaying help, so fix the last
doc change.
(custom-buffer-create-other-window): Ditto.

8 years agoDoc string change to enable-recursive-minibuffers
Lars Ingebrigtsen [Thu, 28 Apr 2016 23:19:49 +0000 (01:19 +0200)]
Doc string change to enable-recursive-minibuffers

* src/minibuf.c (syms_of_minibuf): Mention
minibuffer-depth-indicator-mode in the doc string to
enable-recursive-minibuffers (bug#14147).

8 years agoFix definition of nobreak-space
Lars Ingebrigtsen [Thu, 28 Apr 2016 22:20:55 +0000 (00:20 +0200)]
Fix definition of nobreak-space

* lisp/faces.el (nobreak-space): The definition to
nobreak-space was inadvertantly changed by the previous checkin.

8 years agoClarify the `interactive' doc string slightly
Lars Ingebrigtsen [Thu, 28 Apr 2016 22:17:50 +0000 (00:17 +0200)]
Clarify the `interactive' doc string slightly

* src/callint.c (Finteractive): Clarify the doc string slightly
  (bug#14577).

8 years agoMake icomplete respect `completion-ignored-extensions'
Drew Adams [Thu, 28 Apr 2016 17:31:43 +0000 (19:31 +0200)]
Make icomplete respect `completion-ignored-extensions'

* lisp/icomplete.el (icomplete-completions): Heed
`completion-ignored-extensions' (bug#12939).

8 years agoMake ibuffer not break on newline-embedded buffer names
Lars Ingebrigtsen [Thu, 28 Apr 2016 16:51:51 +0000 (18:51 +0200)]
Make ibuffer not break on newline-embedded buffer names

* lisp/ibuffer.el (name): When buffer names contain newlines,
quote those newlines before displaying (bug#12378).

8 years agoAdd a new face for non-breaking hyphen characters
Lars Ingebrigtsen [Thu, 28 Apr 2016 16:09:10 +0000 (18:09 +0200)]
Add a new face for non-breaking hyphen characters

* doc/emacs/display.texi (Standard Faces): Mention nobreak-hyphen.
(Text Display): Ditto.

* lisp/faces.el (nobreak-hyphen): New face (bug#12048).

* src/xdisp.c (get_next_display_element): Use it instead of
the escape-glyph face.

* src/xdisp.c (syms_of_xdisp): New symbil Qnobreak_hyphen.