Paul Eggert
230fe2a5a1
Merge from gnulib.
...
This incorporates the following changes:
2013-09-19 stdio: OS X port of putc_unlocked + extern inline
2013-09-19 signal: OS X port of sigaddset etc. + extern inline
2013-09-19 extern-inline: do not always suppress extern inline on OS X
2013-09-17 getgroups: statement without effect
2013-08-28 headers: check that _GL_INLINE_HEADER_BEGIN is defined
2013-09-19 14:40:08 -07:00
Stefan Monnier
c39cc7d149
* lisp/eshell/em-ls.el: Use advice. Remove redundant :group keywords.
...
(eshell-ls-orig-insert-directory): Remove.
(eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
(eshell-ls-use-in-dired): Use advice-add/remove.
(eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
Add `orig-fun' arg for use in :around advice.
Make it check (redundantly) eshell-ls-use-in-dired.
2013-09-19 16:51:33 -04:00
Glenn Morris
a2c501b84e
* lisp/emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2013-09-19 16:31:54 -04:00
Glenn Morris
c440407a90
* lisp/simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2013-09-19 16:31:26 -04:00
Glenn Morris
9a0289a2e9
* lisp/emacs-lisp/eieio.el (class-parent): Undo previous change.
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00354.html
2013-09-19 16:11:48 -04:00
Michael Albinus
e189e54eea
Fix previous patch.
2013-09-19 21:14:26 +02:00
Michael Albinus
85e0591524
* net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
...
(tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
(tramp-get-remote-python): New defuns.
(tramp-get-remote-uid-with-perl)
(tramp-get-remote-gid-with-perl): New defuns. Perl code
contributed by yary <not.com@gmail.com> (tiny change).
(tramp-get-remote-uid-with-python)
(tramp-get-remote-gid-with-python): New defuns. Python code
contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
(tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2013-09-19 13:08:01 +02:00
Glenn Morris
52d4169a69
Auto-commit of generated files.
2013-09-19 06:17:39 -04:00
Eli Zaretskii
be9bc55efd
Fix MinGW builds from inside the MSYS installation tree.
...
configure.ac <srcdir> [MINGW32]: Make sure the value of 'srcdir'
is in the full /d/foo/bar form. See the discussion in
http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00210.html ,
and in particular
http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00252.html
and its followups, for the details.
2013-09-19 11:43:01 +03:00
Eli Zaretskii
13d9698ae4
Fix a compiler warning on MS-Windows due to recent changes.
...
src/w32reg.c (w32_get_string_resource): Make the first 2 arguments
'const char *' to avoid compiler warnings due to similar change in
the prototype of x_get_string_resource.
2013-09-19 11:25:43 +03:00
Dmitry Antipov
ced135ebdb
* xterm.h (struct x_display_info): New members last_mouse_glyph_frame,
...
last_mouse_scroll_bar, last_mouse_glyph and last_mouse_movement_time,
going to replace static variables below. Adjust comments.
* xterm.c (last_mouse_glyph, last_mouse_glyph_frame)
(last_mouse_scroll_bar, last_mouse_movement_time): Remove.
(note_mouse_movement, XTmouse_position, x_scroll_bar_note_movement)
(x_scroll_bar_report_motion, handle_one_xevent, syms_of_xterm):
Related users changed.
* w32term.h (struct w32_display_info): New members last_mouse_glyph_frame,
last_mouse_scroll_bar, last_mouse_scroll_bar_pos, last_mouse_glyph and
last_mouse_movement_time, going to replace static variables below.
Adjust comments.
* w32term.c (last_mouse_glyph_frame, last_mouse_scroll_bar)
(last_mouse_scroll_bar_pos, last_mouse_glyph, last_mouse_movement_time):
Remove.
(note_mouse_movement, w32_mouse_position, w32_scroll_bar_handle_click)
(x_scroll_bar_report_motion, syms_of_w32term): Related users changed.
* nsterm.h (struct ns_display_info): New members last_mouse_glyph,
last_mouse_movement_time and last_mouse_scroll_bar, going to replace
static variables below.
* nsterm.m (last_mouse_glyph, last_mouse_movement_time)
(last_mouse_scroll_bar): Remove.
(note_mouse_movement, ns_mouse_position, mouseMoved, mouseEntered)
(mouseExited): Related users changed.
2013-09-19 11:48:53 +04:00
Glenn Morris
f754477379
* emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2013-09-19 00:14:53 -07:00
Glenn Morris
72fd28777d
* eshell/em-unix.el (eshell-remove-entries):
...
Rename argument to avoid name-clash with global `top-level'.
2013-09-18 23:56:47 -07:00
Dmitry Antipov
091f1e1f29
Do not use external array to process X scroll bar messages.
...
* xterm.c (scroll_bar_windows, scroll_bar_windows_size): Remove.
(x_send_scroll_bar_event): Pack window pointer into two slots
of XClientMessageEvent if we're 64-bit. Adjust comment.
(x_scroll_bar_to_input_event): Unpack accordingly.
2013-09-19 09:21:32 +04:00
Glenn Morris
336b5a56bc
Revise previous esh-proc change
...
* eshell/esh-proc.el (eshell-kill-process-function):
Remove eshell-reset-after-proc from eshell-kill-hook if present.
(eshell-reset-after-proc): Remove unused arg `proc'.
2013-09-18 20:44:55 -07:00
Glenn Morris
390b7f9de6
* eshell/esh-proc.el (eshell-reset-after-proc): Mark unused arg.
2013-09-18 19:55:00 -07:00
Glenn Morris
57a3a53d53
* eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
...
(directory-files-and-attributes): Mark unused arg.
2013-09-18 19:48:01 -07:00
Glenn Morris
3261d4af3d
* eshell/em-unix.el (eshell-remove-entries): Remove unused arg `path'.
...
Update callers.
2013-09-18 19:42:36 -07:00
Glenn Morris
8e51b5d087
* eshell/em-hist.el (eshell-hist-parse-arguments): Remove unused arg `silent'.
...
Update callers.
2013-09-18 19:38:25 -07:00
Glenn Morris
0bc8d75810
* erc/erc-list.el (erc-list-handle-322): Mark unused argument.
2013-09-18 19:32:27 -07:00
Glenn Morris
ce5033129f
Address some "unused lexical argument" warnings in eshell
...
* eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
Fix (f)boundp mix-up.
* eshell/em-smart.el (eshell-smart-scroll-window)
(eshell-disable-after-change):
* eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2013-09-18 19:28:20 -07:00
Glenn Morris
a022856b0f
Address some "unused lexical argument" warnings in erc
...
* erc/erc.el (erc-open-server-buffer-p): Actually use the `buffer' arg.
* erc/erc-backend.el (erc-server-process-alive): Take optional `buffer' arg.
* erc/erc-button.el (erc-button-click-button, erc-button-press-button):
Mark unused arguments.
2013-09-18 19:21:31 -07:00
Alan Mackenzie
ee3ce8a7bb
Fix fontification of type when followed by "const".
...
* progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
"known" types from fontification.
2013-09-18 20:47:37 +00:00
Dmitry Antipov
abd49271db
* w32term.c (note_mouse_movement): Fix last change.
2013-09-18 17:18:39 +04:00
Glenn Morris
2fd6bdbecb
Auto-commit of loaddefs files.
2013-09-18 06:19:31 -04:00
Dmitry Antipov
582ed56ca8
Ifdef away recent changes which aren't relevant to NS port.
...
* dispextern.h (x_mouse_grabbed, x_redo_mouse_highlight)
[!HAVE_NS]: Declare as such.
* frame.c (x_mouse_grabbed, x_redo_mouse_highlight)
[!HAVE_NS]: Define as such.
2013-09-18 13:33:36 +04:00
Dmitry Antipov
18da0d8ad4
* frame.c (x_redo_mouse_highlight): New function
...
to factor out common code used in W32 and X ports.
* dispextern.h (x_redo_mouse_highlight): Add prototype.
* xterm.h (struct x_display_info):
* w32term.h (struct w32_display_info):
* nsterm.h (struct ns_display_info): New members
last_mouse_motion_frame, last_mouse_motion_x and
last_mouse_motion_y, going to replace static variables below.
* xterm.c (last_mouse_motion_event, last_mouse_motion_frame)
(redo_mouse_highlight): Remove.
(note_mouse_movement, syms_of_xterm): Adjust user.
(handle_one_xevent): Likewise. Use x_redo_mouse_highlight.
* w32term.c (last_mouse_motion_event, last_mouse_motion_frame)
(redo_mouse_highlight): Remove.
(note_mouse_movement, syms_of_w32term): Adjust user.
(w32_read_socket): Likewise. Use x_redo_mouse_highlight.
* nsterm.m (last_mouse_motion_position, last_mouse_motion_frame):
Remove.
(note_mouse_movement, mouseMoved, syms_of_nsterm):
* nsfns.m (compute_tip_xy): Adjust user.
2013-09-18 13:23:10 +04:00
Dmitry Antipov
7a0c745ad1
* frame.c (x_mouse_grabbed): New function.
...
* dispextern.h (x_mouse_grabbed): Add prototype.
(last_mouse_frame): Remove declaration.
* xterm.h (struct x_display_info):
* w32term.h (struct w32_display_info):
* nsterm.h (struct ns_display_info): New member
last_mouse_frame, going to replace...
* xdisp.c (last_mouse_frame): ...global variable.
(note_tool_bar_highlight):
* w32term.c (w32_mouse_position, w32_read_socket):
* xterm.c (XTmouse_position, handle_one_xevent):
Use x_mouse_grabbed.
* nsterm.m (ns_mouse_position, mouseDown): Adjust user.
2013-09-18 10:48:11 +04:00
Glenn Morris
12679bfd15
* progmodes/gud.el (gud-mode): Silence --without-x compilation.
...
(tooltip-mode): Declare.
2013-09-17 22:19:28 -07:00
Glenn Morris
30810a057c
* progmodes/gud.el (gud-find-file): Silence --without-x compilation.
2013-09-17 22:16:36 -07:00
Glenn Morris
92d77c897b
* eshell/em-glob.el (ange-cache):
...
* eshell/em-unix.el (ange-cache): Declare.
2013-09-17 22:11:38 -07:00
Glenn Morris
ee8b701cae
Fix typo in declaration
2013-09-17 22:10:21 -07:00
Glenn Morris
7bb3e76899
* emacs-lisp/chart.el (x-display-color-cells): Declare.
...
(chart-face-list): Drop Emacsen without display-color-p.
2013-09-17 22:04:41 -07:00
Glenn Morris
74be3de16c
* semantic/find.el (semantic-brute-find-first-tag-by-name):
...
Replace obsolete function assoc-ignore-case with assoc-string.
2013-09-17 22:00:26 -07:00
Glenn Morris
0a9600e028
* semantic/complete.el (tooltip-mode, tooltip-frame-parameters, tooltip-show):
...
Declare.
2013-09-17 21:57:25 -07:00
Glenn Morris
3a5fdd45c4
* gnus-util.el (image-size): Declare.
2013-09-17 21:54:21 -07:00
Glenn Morris
986ed13557
* net/shr.el (image-size, image-animate): Declare.
2013-09-17 21:53:05 -07:00
Glenn Morris
ffb82dbda3
* net/gnutls.el (gnutls-log-level): Declare.
2013-09-17 21:50:54 -07:00
Glenn Morris
5148da153e
* net/eww.el (libxml-parse-html-region): Declare.
...
(eww-display-html): Explicit error if no libxml2 support.
2013-09-17 21:48:55 -07:00
Glenn Morris
45069b2e00
* term.el (term-mouse-paste): Reorder to silence --without-x compilation.
2013-09-17 21:46:44 -07:00
Glenn Morris
cd8edbbe67
* mpc.el (doc-view-mode): Silence --without-x compilation.
2013-09-17 21:44:20 -07:00
Glenn Morris
7e58af4b13
* follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
...
(scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll): Declare.
2013-09-17 21:42:30 -07:00
Glenn Morris
2f68e15795
* doc-view.el (doc-view-mode): Silence --without-x compilation.
2013-09-17 21:38:49 -07:00
Glenn Morris
f4a1d572bc
* term/ns-win.el (x-handle-args): Declare.
2013-09-17 21:36:34 -07:00
Glenn Morris
38702b5be4
* w32-common-fns.el (x-server-version, x-select-enable-clipboard): Declare.
2013-09-17 21:34:56 -07:00
Glenn Morris
5fa89513d5
* term/w32-win.el (create-default-fontset): Declare.
2013-09-17 21:32:01 -07:00
Glenn Morris
e843de7767
* term/x-win.el (x-select-enable-clipboard): Declare.
2013-09-17 21:30:33 -07:00
Glenn Morris
047a1a4c20
* term/common-win.el (x-select-enable-primary, x-last-selected-text-primary)
...
(x-last-selected-text-clipboard): Declare.
2013-09-17 21:28:57 -07:00
Glenn Morris
9019d095df
* image.el (image-multi-frame-p): Remove --without-x warning/error.
2013-09-17 21:26:19 -07:00
Glenn Morris
67645389fc
* image.el (image-type-from-buffer): Remove --without-x warning/error.
2013-09-17 21:24:14 -07:00