1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
Commit graph

32399 commits

Author SHA1 Message Date
Glenn Morris
2605051a7f * lisp/minibuffer.el (read-file-name): Doc fix. (Bug#10798)
* src/gtkutil.c: Related comment.
2012-02-13 17:46:43 -05:00
Andreas Schwab
0ca4369955 * gnutls.c (emacs_gnutls_write): Fix last change. 2012-02-13 21:39:46 +01:00
Lars Ingebrigtsen
2e8f3c56f0 Further GnuTLS EAGAIN write fixups
* gnutls.c (emacs_gnutls_write): Set errno appropriately for
send_process.
2012-02-13 20:37:48 +01:00
Stefan Monnier
af70074f2f * src/keymap.c (Fsingle_key_description): Handle char ranges. 2012-02-13 10:55:27 -05:00
Chong Yidong
afd83bd152 Avoid a risky corner case with invalid face ids.
* src/xdisp.c (handle_stop): Avoid assigning -1 to it->face_id here,
as that creates a dangerous corner case.
2012-02-12 17:46:33 +08:00
Chong Yidong
95986d5276 * window.c (Fdelete_window_internal): Invalidate the mouse highlight.
Fixes: debbugs:9904
2012-02-12 12:29:50 +08:00
Glenn Morris
bd7da63eec Yet more syncing of xselect docs and argument specs
* src/xselect.c (Fx_own_selection_internal)
(Fx_get_selection_internal, Fx_disown_selection_internal)
(Fx_selection_owner_p, Fx_selection_exists_p): Doc fixes.
* src/nsselect.m (Fx_own_selection_internal)
(Fx_disown_selection_internal, Fx_selection_exists_p)
(Fx_selection_owner_p, Fx_get_selection_internal):
Sync docs and argument specs with the xselect.c versions.
* lisp/term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
(x-disown-selection-internal, x-get-selection-internal):
Sync docs with the xselect.c versions.
2012-02-11 19:13:13 -08:00
Lars Ingebrigtsen
77abcbc241 * gnutls.c (emacs_gnutls_write): Don't infloop if sendto fails. 2012-02-11 18:06:14 +01:00
Eli Zaretskii
1c0ca0b721 Fix bug #10783 with w32 doc string of x-selection-exists-p.
src/w32select.c (Fx_selection_exists_p): Sync doc string and
 argument list with xselect.c.
2012-02-11 11:50:27 +02:00
Eli Zaretskii
90b671e274 Sync MS-DOS selection-related doc strings with X doc strings.
lisp/term/pc-win.el (x-select-text, x-selection-owner-p)
 (x-own-selection-internal, x-disown-selection-internal)
 (x-get-selection-internal): Sync doc strings and argument lists
 with xselect.c, common-win.el and x-win.el.  (Bug#10783)
 src/w16select.c (Fx_selection_exists_p): Sync doc string with
 xselect.c.  (Bug#10783)
2012-02-11 11:38:41 +02:00
Glenn Morris
49241268b2 * src/fns.c (Fsecure_hash): Doc fix.
* etc/NEWS: Related edit.
2012-02-10 00:38:22 -08:00
Glenn Morris
f998bbe793 Merge from emacs-23; up to 2010-06-29T18:17:31Z!cyd@stupidchicken.com. 2012-02-08 23:48:22 -08:00
Kenichi Handa
5c1ca13df7 coding.c (produce_chars): Fix updating of src_end (Bug#10701). 2012-02-08 17:32:25 +09:00
Chong Yidong
0992bd9c06 Fix and doc-fix for `buffer-local-variables'.
* src/buffer.c (Fbuffer_local_variables)
(buffer_lisp_local_variables): Handle unbound vars correctly;
don't let Qunbound leak into Lisp.

* doc/lispref/variables.texi (Creating Buffer-Local): Minor clarification
to buffer-local-variables doc.

Fixes: debbugs:10715
2012-02-07 14:34:52 +08:00
Glenn Morris
dd605cc4a6 Small imagemagick doc fixes
* lisp/image.el (imagemagick-types-inhibit): Doc fix.

* src/image.c (Fimagemagick_types): Doc fix.
2012-02-06 19:46:18 -08:00
Glenn Morris
af008560fe imagemagick-render-type fixes
* src/image.c (imagemagick-render-type): Change it from a lisp object
to an integer.  Move the doc here from the lisp manual.
Treat all values not equal to 0 the same.

* doc/lispref/display.texi (ImageMagick Images):
Move most details of imagemagick-render-type to the variable's doc.

* lisp/cus-start.el (imagemagick-render-type): Add it.
2012-02-06 19:31:29 -08:00
Chong Yidong
4a6c7bb874 * doc.c (store_function_docstring): Fix last change. 2012-02-07 00:53:51 +08:00
Chong Yidong
1449fa1d08 * doc.c (store_function_docstring): Avoid applying docstring of alias to base function.
Fixes: debbugs:2603
2012-02-06 21:43:39 +08:00
Glenn Morris
64677d9074 Comment fix. 2012-02-06 00:19:09 -08:00
Andreas Schwab
3723ec07bf * .gdbinit (pp1, pv1): Remove redundant defines.
(pr): Use pp.
2012-02-04 20:57:12 +01:00
Chong Yidong
79c1cc1e97 * src/nsterm.m: Declare a global (Bug#10694). 2012-02-04 23:10:54 +08:00
Eli Zaretskii
d7f29f8e5c Include --enable-checking in system-configuration-options on MS-Windows.
srtc/w32.c (get_emacs_configuration_options): Include
 --enable-checking, if specified, in the return value.
2012-02-04 15:48:38 +02:00
Martin Rudalics
3b95a6f950 When changing frame sizes round before applying new sizes. (Bug#9723)
* dispnew.c (change_frame_size_1): Calculate new_frame_total_cols
after rounding frame sizes.  (Bug#9723)
2012-02-04 12:29:29 +01:00
Eli Zaretskii
d6fa96a61f Fix bug #10696 with crash when an empty display string is at BOB.
src/keyboard.c (adjust_point_for_property): Don't position point
 before BEGV.
2012-02-04 11:27:03 +02:00
Paul Eggert
df0b2940c2 Handle overflow when computing char display width (Bug#9496).
* character.c (char_width): Return EMACS_INT, not int.
(char_width, c_string_width): Check for overflow when
computing the width; this is possible now that individual
characters can have unbounded width.  Problem introduced
by merge from Emacs 23 on 2012-01-19.
2012-02-03 11:24:22 -08:00
Michael Albinus
6bee44d640 * dbusbind.c (Fdbus_register_method): Mention the return value
:ignore in the docstring.
2012-02-02 13:47:09 +01:00
Kenichi Handa
ba1d2c3e92 merge trunk 2012-02-02 18:12:08 +09:00
Kenichi Handa
c5d3843c34 Fix previous change for Bug#6988. 2012-02-02 18:07:29 +09:00
Glenn Morris
1b9f60cc53 Tiny doc tweaks for call-process's :file spec.
* doc/lispref/processes.texi (Synchronous Processes):
Mention call-process's :file gets overwritten.

* src/callproc.c (Fcall_process, Fcall_process_region): Doc fix.

* etc/NEWS: Markup.
2012-02-01 23:21:20 -08:00
Glenn Morris
44f9273998 Native scroll-bars are not implemented for Nextstep (bug#10673)
* configure.in [HAVE_NS]: Error if use --without-toolkit-scroll-bars.

* src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
Unconditionally set to t.

* src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
* src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Doc fix.
2012-02-01 21:12:57 -05:00
Kenichi Handa
159462d4d1 merge trunk 2012-02-02 09:32:12 +09:00
Kenichi Handa
d2a51fd7a1 Inhibit null-string composition component (Bug#6988). 2012-02-02 09:30:09 +09:00
Eli Zaretskii
78cef87789 Speed up insertion of subprocess output on MS-Windows.
src/ralloc.c (resize_bloc, r_alloc_sbrk): Don't call memmove if its
 first 2 arguments are identical.  This makes inserting large
 output from a subprocess an order of magnitude faster on
 MS-Windows, where all sbrk'ed memory is always contiguous.
2012-02-01 18:51:20 +02:00
Juanma Barranquero
6df6ae42fe Fix typos in ChangeLogs. 2012-01-31 17:15:03 +01:00
Glenn Morris
c78c6e0bbf * w32term.c: Copy previous xterm.c doc fix. 2012-01-30 19:33:16 -08:00
Glenn Morris
9789766834 x-toolkit-scroll-bars doc fix.
* src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.
2012-01-30 19:07:38 -08:00
Glenn Morris
31fd3586bd Minor NEWS cleanup, mainly for "Installation Changes" section.
* etc/NEWS: Reorder items.
Standardize new --with-libfoo type configure options.
Don't say precisely which library versions are needed - it tends to
change and people who care can look at configure.
Move new Hebrew tutorial entry to "Internationalization changes" section.
Small tidy up for imagemagick and gnutls entries.

* src/gnutls.c (syms_of_gnutls): More doc (from etc/NEWS).
2012-01-28 19:08:15 -08:00
Chong Yidong
0e24a8b2f4 * src/s/gnu.h: Define POSIX_SIGNALS.
Fixes: debbugs:10552
2012-01-28 11:11:41 +08:00
Chong Yidong
cc0adcb06a * minibuf.c (syms_of_minibuf): Doc fix.
Fixes: debbugs:10550
2012-01-28 11:04:55 +08:00
Chong Yidong
9c69cfb72e * src/keyboard.c (Vecho_keystrokes): Document zero value.
Fixes: debbugs:10503
2012-01-27 00:09:35 +08:00
Chong Yidong
acc28cb93b Document negative repeat counts for search-forward and search-backward.
* doc/lispref/searching.texi (String Search): Document negative repeat count.

* src/search.c (Fsearch_forward, Fsearch_backward): Document negative
repeat counts (Bug#10507).
2012-01-26 23:48:27 +08:00
Glenn Morris
48da739227 Doc fix for lexical-binding being in line one.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html

* doc/lispref/variables.texi (Using Lexical Binding):
Mention that lexical-binding should be set in the first line.

* src/lread.c (syms_of_lread): Doc fix.

* lisp/emacs-lisp/tabulated-list.el, lisp/progmodes/f90.el:
Move lexical-binding file-local to line one.

* etc/NEWS: lexical-binding should be ine the first line.
2012-01-25 22:30:49 -08:00
Chong Yidong
14af5f7fc4 Merge from emacs-23 branch 2012-01-25 13:55:01 +08:00
Chong Yidong
0b21c100be Tweak custom-variable-p and user-variable-p docs.
* lisp/custom.el (custom-variable-p): Doc fix.

* src/eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.
2012-01-25 13:48:11 +08:00
HIROSHI OOTA
5f53d2441a * src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT. 2012-01-25 13:35:05 +08:00
Chong Yidong
3c2907f7e8 Make second arg of copysign non-optional.
* src/floatfns.c (Fcopysign): Make the second argument non-optional,
since nil is not allowed anyway.
2012-01-21 23:52:46 +08:00
Andreas Schwab
959ad23fb9 * process.c (read_process_output): Use p instead of XPROCESS (proc).
(send_process): Likewise.
2012-01-21 11:54:19 +01:00
Chong Yidong
8fd538931d Bump version number to 23.4 2012-01-19 23:17:57 +08:00
Paul Eggert
76774ec8c5 Fix usage of unitialized local var (backport from trunk)
* src/coding.c (encode_designation_at_bol): Don't use uninitialized
local variable (Bug#9318).
2012-01-19 22:35:41 +08:00
Kenichi Handa
a32a7dc721 Pay attention to buffer relocation on encoding (Bug#9318; backport from trunk).
Backport of 2011-12-05T06:39:26Z!handa@m17n.org from trunk.
2012-01-19 22:19:21 +08:00