Lars Ingebrigtsen
42a4e9b70d
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).
2016-05-01 21:46:56 +02:00
David Engster
f648e48669
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'.
2016-05-01 21:17:55 +02:00
Lars Ingebrigtsen
5942c18e9a
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).
2016-05-01 21:15:06 +02:00
Lars Ingebrigtsen
3984fbbce9
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).
2016-05-01 19:42:35 +02:00
Lars Ingebrigtsen
ce98b0b1ab
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*
2016-05-01 18:38:07 +02:00
Lars Ingebrigtsen
bf0b6fab03
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).
2016-05-01 16:53:38 +02:00
Peter Feigl
8cfd9ba1a9
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
2016-05-01 13:46:30 +02:00
Jorgen Schaefer
7bced5ed11
; Replace mixed tabs/spaces in scheme.el with just spaces
...
* lisp/progmodes/scheme.el: Remove tabs in preparation for
upcoming patch.
2016-05-01 13:46:29 +02:00
Alan Third
e683a2570b
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.
2016-05-01 13:04:07 +02:00
Glenn Morris
80a1e3b9b5
; Auto-commit of loaddefs files.
2016-05-01 06:26:12 -04:00
Michael Albinus
910f9a0a93
tramp.texi: Revert last change due to backward compatibility
2016-05-01 10:14:05 +02:00
Paul Eggert
4d9e34e02c
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
2016-04-30 17:51:29 -07:00
Lars Ingebrigtsen
2b4c099822
cua-prefix-override-inhibit-delay doc fix
...
* lisp/emulation/cua-base.el
(cua-prefix-override-inhibit-delay): Typo fix in doc string
(bug#23401).
2016-05-01 01:53:58 +02:00
Paul Eggert
4b488a297a
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.
2016-04-30 16:37:05 -07:00
Lars Ingebrigtsen
25e95b5dd8
global-eldoc-mode doc fix
...
* lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
specific about what "applicable" means (bug#23071).
2016-05-01 01:08:23 +02:00
Lars Ingebrigtsen
d0b0cd6671
Make the legend in describe-categories a link
...
* lisp/help-fns.el (describe-categories): Make the "see
bottom" text a link (bug#22227).
2016-05-01 00:45:39 +02:00
Lars Ingebrigtsen
28aaa6d205
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).
2016-05-01 00:26:00 +02:00
Lars Ingebrigtsen
cafc2a5940
isearch-search-fun-function doc tweak
...
* lisp/isearch.el (isearch-search-fun-function): Mention what
the STRING parameter is (bug#21552).
2016-05-01 00:16:42 +02:00
Lars Ingebrigtsen
4b7bb8f596
Fill some imenu--index-alist doc lines
...
* lisp/imenu.el (imenu--index-alist): Fill some doc lines (bug#21269).
2016-05-01 00:10:57 +02:00
Lars Ingebrigtsen
032b051031
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).
2016-05-01 00:08:52 +02:00
Lars Ingebrigtsen
eeac7c5727
Fmarker_position doc string clarification
...
* src/marker.c (Fmarker_position): Clarify the doc string
(bug#21231).
2016-05-01 00:03:15 +02:00
Lars Ingebrigtsen
28e9f4390d
Further define-obsolete-* doc fixups
...
* lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
Fix up last change.
(define-obsolete-variable-alias): Ditto.
2016-04-30 23:54:16 +02:00
Lars Ingebrigtsen
247c388f16
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.
2016-04-30 23:52:19 +02:00
Lars Ingebrigtsen
fcd0d854ee
Mention with-silent-modifications in the lispref manual
...
* doc/lispref/text.texi (Changing Properties): Document
with-silent-modifications (bug#21171).
2016-04-30 23:40:42 +02:00
Lars Ingebrigtsen
e0e70f030e
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).
2016-04-30 23:34:29 +02:00
Lars Ingebrigtsen
1aaeaf1450
clear-visited-file-modtime doc string fix
...
* lisp/files.el (clear-visited-file-modtime): Fix possibly
confusing doc string wording (bug#21169).
2016-04-30 23:30:40 +02:00
Lars Ingebrigtsen
bf7a630b0a
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).
2016-04-30 22:48:08 +02:00
Lars Ingebrigtsen
a3151a2878
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).
2016-04-30 22:42:46 +02:00
Lars Ingebrigtsen
45559c584e
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).
2016-04-30 22:41:41 +02:00
Lars Ingebrigtsen
bcf0291d0c
custom-buffer-style doc fix
...
* lisp/cus-edit.el (custom-buffer-style): Document the `tree'
value (bug#20724).
2016-04-30 21:43:18 +02:00
Lars Ingebrigtsen
faf07d6465
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).
2016-04-30 21:39:21 +02:00
Lars Ingebrigtsen
970b82b2b2
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.
2016-04-30 21:36:58 +02:00
Lars Ingebrigtsen
bcc10761c3
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).
2016-04-30 21:28:51 +02:00
Lars Ingebrigtsen
0714d73878
apropos-print doc fix
...
* lisp/apropos.el (apropos-print): Document the undocumented
parameters (bug#20520).
2016-04-30 21:13:48 +02:00
Lars Ingebrigtsen
b6a4d16220
completion-table-with-predicate doc string fix
...
* lisp/minibuffer.el (completion-table-with-predicate): t ->
non-nil in the doc string (bug#20460).
2016-04-30 20:32:56 +02:00
Lars Ingebrigtsen
207a31432c
Fill the completion-table-with-predicate doc string
...
* lisp/minibuffer.el (completion-table-with-predicate): Fill
the doc string (bug#20460).
2016-04-30 20:32:56 +02:00
Lars Ingebrigtsen
139874ba53
replace-match-maybe-edit doc clarification
...
* lisp/replace.el (replace-match-maybe-edit): Say what
MATCH-DATA is (bug#20304).
2016-04-30 20:32:56 +02:00
Lars Ingebrigtsen
921b40476f
add-timeout doc fix
...
* lisp/emacs-lisp/timer.el (add-timeout): Mention the return
value (bug#20181).
2016-04-30 20:32:56 +02:00
Lars Ingebrigtsen
6c7e7f421d
Extremely minor doc fix in Choosing Window
...
* doc/lispref/windows.texi (Choosing Window): There's only one
action alist, I think (bug#20158).
2016-04-30 20:32:56 +02:00
Alan Mackenzie
8e4595a438
* .dir-locals: Amend for correct fontification of *.[ch] containing "IF_LINT"
2016-04-30 17:30:29 +00:00
Lars Ingebrigtsen
9392193be5
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).
2016-04-30 19:20:12 +02:00
Lars Ingebrigtsen
77c5f4554e
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).
2016-04-30 18:49:12 +02:00
Lars Ingebrigtsen
da5d078616
Add a link from Tool Bar to Images
...
* doc/lispref/keymaps.texi (Tool Bar): Add a link to the
Images node (bug#19722).
2016-04-30 18:49:12 +02:00
Alan Mackenzie
01cdbcf834
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.
2016-04-30 16:40:08 +00:00
Lars Ingebrigtsen
9dc5f6d830
(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).
2016-04-30 18:31:05 +02:00
Lars Ingebrigtsen
aa692acbb5
Fcompare_buffer_substrings doc string clarification
...
* src/editfns.c (Fcompare_buffer_substrings): Extremely minor
doc string clarification (bug#19255).
2016-04-30 18:20:29 +02:00
Lars Ingebrigtsen
b6481b19bc
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).
2016-04-30 18:07:15 +02:00
Lars Ingebrigtsen
b66bc0cced
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).
2016-04-30 17:57:57 +02:00
Lars Ingebrigtsen
696052b5fd
Doc clarification to mwheel-scroll
...
* lisp/mwheel.el (mwheel-scroll): Mention that the restriction
does not apply to Windows (bug#19209).
2016-04-30 17:50:09 +02:00
Lars Ingebrigtsen
cd193a871f
Clarify the doc of eval-expression-print-format
...
* lisp/simple.el (eval-expression-print-format): Doc
clarification (bug#19114).
2016-04-30 17:39:05 +02:00