aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Auto-commit of loaddefs files.Glenn Morris2013-09-181-1/+1
|
* Ifdef away recent changes which aren't relevant to NS port.Dmitry Antipov2013-09-183-1/+16
| | | | | | | * 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.
* * frame.c (x_redo_mouse_highlight): New functionDmitry Antipov2013-09-1810-64/+90
| | | | | | | | | | | | | | | | | | | | | | 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.
* * frame.c (x_mouse_grabbed): New function.Dmitry Antipov2013-09-1810-63/+75
| | | | | | | | | | | | | | | * 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.
* * progmodes/gud.el (gud-mode): Silence --without-x compilation.Glenn Morris2013-09-172-3/+8
| | | | (tooltip-mode): Declare.
* * progmodes/gud.el (gud-find-file): Silence --without-x compilation.Glenn Morris2013-09-172-4/+6
|
* * eshell/em-glob.el (ange-cache):Glenn Morris2013-09-173-0/+7
| | | | * eshell/em-unix.el (ange-cache): Declare.
* Fix typo in declarationGlenn Morris2013-09-171-1/+1
|
* * emacs-lisp/chart.el (x-display-color-cells): Declare.Glenn Morris2013-09-172-5/+8
| | | | (chart-face-list): Drop Emacsen without display-color-p.
* * semantic/find.el (semantic-brute-find-first-tag-by-name):Glenn Morris2013-09-172-4/+5
| | | | Replace obsolete function assoc-ignore-case with assoc-string.
* * semantic/complete.el (tooltip-mode, tooltip-frame-parameters, tooltip-show):Glenn Morris2013-09-172-0/+10
| | | | Declare.
* * gnus-util.el (image-size): Declare.Glenn Morris2013-09-172-0/+6
|
* * net/shr.el (image-size, image-animate): Declare.Glenn Morris2013-09-172-0/+6
|
* * net/gnutls.el (gnutls-log-level): Declare.Glenn Morris2013-09-172-0/+3
|
* * net/eww.el (libxml-parse-html-region): Declare.Glenn Morris2013-09-172-0/+8
| | | | (eww-display-html): Explicit error if no libxml2 support.
* * term.el (term-mouse-paste): Reorder to silence --without-x compilation.Glenn Morris2013-09-172-9/+9
|
* * mpc.el (doc-view-mode): Silence --without-x compilation.Glenn Morris2013-09-172-1/+4
|
* * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)Glenn Morris2013-09-172-2/+12
| | | | (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll): Declare.
* * doc-view.el (doc-view-mode): Silence --without-x compilation.Glenn Morris2013-09-172-3/+8
|
* * term/ns-win.el (x-handle-args): Declare.Glenn Morris2013-09-172-0/+3
|
* * w32-common-fns.el (x-server-version, x-select-enable-clipboard): Declare.Glenn Morris2013-09-172-0/+6
|
* * term/w32-win.el (create-default-fontset): Declare.Glenn Morris2013-09-172-0/+3
|
* * term/x-win.el (x-select-enable-clipboard): Declare.Glenn Morris2013-09-172-0/+4
|
* * term/common-win.el (x-select-enable-primary, x-last-selected-text-primary)Glenn Morris2013-09-172-0/+8
| | | | (x-last-selected-text-clipboard): Declare.
* * image.el (image-multi-frame-p): Remove --without-x warning/error.Glenn Morris2013-09-172-8/+10
|
* * image.el (image-type-from-buffer): Remove --without-x warning/error.Glenn Morris2013-09-172-0/+3
|
* * mouse.el (mouse-yank-primary): Reorder to silence --without-x compilation.Glenn Morris2013-09-172-16/+18
|
* * frame.el (x-display-name): Declare.Glenn Morris2013-09-172-1/+3
|
* * faces.el (x-display-list, x-open-connection, x-get-resource): Declare.Glenn Morris2013-09-172-0/+8
|
* * lisp/subr.el (x-popup-dialog): Declare.Glenn Morris2013-09-172-0/+5
|
* * mail/rmailmm.el (rmail-mime-set-bulk-data): Silence --without-x compilation.Glenn Morris2013-09-172-1/+5
|
* wdired.el triviaGlenn Morris2013-09-172-3/+5
| | | | | * lisp/wdired.el (dired-backup-overwrite): Remove declaration. (wdired-mode-map): Add doc string.
* Silence some --without-x compilation warningsGlenn Morris2013-09-175-5/+28
| | | | | | | | | | | | * custom.el (x-get-resource): Declare. * frame.el (x-display-grayscale-p): Declare. * simple.el (font-info): Declare. * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare. (fit-frame-to-buffer): Explicit error if --without-x. (mouse-autoselect-window-select): Silence compiler.
* * eshell/esh-util.el (eshell-sublist): Remove unused local variable.Glenn Morris2013-09-172-2/+2
|
* Address some "unused lexical variable" warningsGlenn Morris2013-09-178-8/+25
| | | | | | | | | | | | * lisp/dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare. * lisp/eshell/esh-io.el (x-select-enable-clipboard): Declare. * lisp/erc/erc-button.el (erc-button-add-buttons): * lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): * lisp/eshell/em-hist.el (eshell/history, eshell-isearch-backward): * lisp/eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time): Remove unused local variables.
* * lisp/url/url-http.el (zlib-decompress-region): Declare.Glenn Morris2013-09-172-0/+6
|
* * lisp/textmodes/two-column.el: Make 2C-split work for --without-x.Glenn Morris2013-09-172-0/+9
| | | | | (scroll-bar-columns): Autoload. (top-level): Require fringe when compiling.
* * subr.el (add-hook): Robustify to handle closure as well.Leo Liu2013-09-182-1/+5
|
* lisp/gnus/mm-decode.el (mm-add-meta-html-tag): Fix last changeKatsumi Yamaoka2013-09-181-1/+1
|
* [Gnus] Silence the byte compilerKatsumi Yamaoka2013-09-173-24/+40
| | | | | | | | | | | | * gnus-icalendar.el (gnus-icalendar-event--find-attendee) (gnus-icalendar-event-from-ical) (gnus-icalendar-event--build-reply-event-body) (gnus-icalendar-event-reply-from-buffer) (gnus-icalendar-find-org-event-file) (gnus-icalendar-event->gnus-calendar, gnus-icalendar-reply) (gnus-icalendar-mm-inline): Use gmm-labels instead of labels or flet. * mm-util.el (mm-special-display-p): Isolate XEmacs stuff.
* * lisp/simple.el (messages-buffer-mode-map): Unbind "g".Glenn Morris2013-09-172-0/+10
|
* * lisp/help-mode.el (help-mode-finish): Use derived-mode-p.Stefan Monnier2013-09-172-9/+4
| | | | Remove obsolete highlighting.
* * lisp/play/life.el (life-mode): Use define-derived-mode. Derive fromStefan Monnier2013-09-172-31/+35
| | | | | | special-mode. (life): Let-bind inhibit-read-only. (life-setup): Avoid `setq'. Use `life-mode'.
* * lisp/gnus/gnus-agent.el (gnus-category-mode): Use define-derived-mode.Stefan Monnier2013-09-175-155/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (gnus-agent-mode): Use derived-mode-p. (gnus-agent-rename-group, gnus-agent-delete-group): Don't bind gnus-command-method and *-command-method to nil, but bind gnus-command-method to *-command-method instead! (gnus-agent-fetch-articles): Remove unused var `id'. (gnus-agent-fetch-headers): Remove unused arg `force'. (gnus-agent-braid-nov): Remove unused arg `group'. Adjust callers. (gnus-agent-save-alist, gnus-agent-save-local): Remove unused `item'. (gnus-agent-short-article, gnus-agent-long-article) (gnus-agent-low-score, gnus-agent-high-score): Move declaration before first use. (gnus-agent-fetch-group-1): Remove unused vars `arts', `category', `score-param'. (gnus-tmp-name, gnus-tmp-groups): Defvar them. (gnus-get-predicate): Push in front of the cache, rather than end. (gnus-agent-expire-current-dirs, gnus-agent-expire-stats): Defvar them. (gnus-agent-expire-group-1): Use push. Don't abuse dyn-binding. (gnus-agent-expire-unagentized-dirs): Don't rebind gnus-agent-expire-current-dirs since the defvar silences the warning. (gnus-agent-retrieve-headers): Remove unused var `cached-articles'. (gnus-agent-regenerate-group): Remove unused vars `point' and `dl'. (gnus-agent-regenerate): Simplify interactive spec and doc. * lisp/gnus/gnus-eform.el (gnus-edit-form-mode): Use define-derived-mode. * lisp/gnus/gnus-salt.el (gnus-tree-mode): Use define-derived-mode. Use save-current-buffer. (gnus-tree-mode-map): Initialize in the declaration. (gnus-pick-mouse-pick-region): Remove unused var `fun'. (scroll-in-place): Defvar it. (gnus-tmp-*): Defvar them. (gnus-get-tree-buffer): Use derived-mode-p. (gnus--let-eval): New macro. (gnus-tree-highlight-node): Use it to avoid dynamic binding of non-prefixed variables. (gnus-tree-open, gnus-tree-close): Remove unused arg `group'. * lisp/gnus/gnus-sum.el (gnus-summary-highlight): Remove `below' from the list of vars since it doesn't seem to be available. (gnus-set-global-variables, gnus-summary-read-group-1) (gnus-select-newsgroup, gnus-handle-ephemeral-exit) (gnus-summary-display-article, gnus-summary-select-article) (gnus-summary-next-article, gnus-offer-save-summaries) (gnus-summary-generic-mark): Use derived-mode-p. (gnus-summary-read-group-1, gnus-summary-exit) (gnus-summary-exit-no-update, gnus-kill-or-deaden-summary): Adjust calls to gnus-tree-close and gnus-tree-open.
* * w32term.c (w32_read_socket): Avoid temporaryDmitry Antipov2013-09-173-19/+10
| | | | | variables in a call to x_real_positions. * xterm.c (handle_one_xevent): Likewise.
* * lisp/emacs-lisp/package.el (package-generate-autoloads): Remove `require'Stefan Monnier2013-09-172-3/+6
| | | | | which should not be needed any more. (package-menu-refresh, package-menu-describe-package): Use user-error.
* * lisp/cedet/semantic/symref/list.el (semantic-symref-results-mode):Stefan Monnier2013-09-173-52/+45
| | | | | | | | | | | | Use define-derived-mode. (semantic-symref-produce-list-on-results): Set up the results here instead of in semantic-symref-results-mode. Move after semantic-symref-current-results's defvar now that it refers to that var. (semantic-symref-auto-expand-results) (semantic-symref-results-summary-function) (semantic-symref-results-mode-hook): Remove redundant :group arg. (semantic-symref, semantic-symref-symbol, semantic-symref-regexp): Initialize directly in the let.
* * lisp/eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.Stefan Monnier2013-09-174-44/+61
| | | | | | | | | | | | | | | | | | | (eshell-post-rewrite-command-hook): Make obsolete. (eshell-parse-command): Simplify. (eshell-structure-basic-command): Remove unused arg `vocal-test'. (eshell--cmd): Declare. (eshell-parse-pipeline): Remove unused var `final-p'. Pass a dynvar to eshell-post-rewrite-command-hook. Implement the new eshell-post-rewrite-command-function. (eshell-invoke-directly): Remove unused arg `input'. * lisp/eshell/esh-io.el (eshell-io-initialize): Use eshell-post-rewrite-command-function. (eshell--apply-redirections): Rename from eshell-apply-redirections; adjust to new calling convention. (eshell-create-handles): Rename args to avoid clashing with dynvar `standard-output'. Fixes: debbugs:15399
* gnus-int.el (gnus-open-server): Silence compilerKatsumi Yamaoka2013-09-172-1/+3
|
* * frame.h (x_set_bitmap_icon) [!HAVE_NS]: New function.Dmitry Antipov2013-09-175-38/+31
| | | | | | | | | (x_icon_type): Remove prototype. (x_bitmap_icon) [!HAVE_NS]: Declare as such. * frame.c (x_icon_type): Remove. * w32term.c (x_make_frame_visible, x_iconify_frame): * xterm.c (x_make_frame_visible, x_iconify_frame): Use x_set_bitmap_icon to factor out common code.