Glenn Morris
e3066edb0a
ChangeLog typo fix
2013-09-12 16:42:40 -04:00
Glenn Morris
2d5788f46d
* test/automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode
...
due to "has a running proces; kill it?" prompts.
2013-09-12 16:39:13 -04:00
Stefan Monnier
51e14f13f0
* eshell/em-cmpl.el: Undo accidental part of last commit.
2013-09-12 16:38:35 -04:00
Stefan Monnier
379add74c2
* lisp/term/ns-win.el (parameters): Don't declare as dynamic.
...
(before-make-frame-hook): Don't add ineffective function.
2013-09-12 16:21:41 -04:00
Stefan Monnier
ae5e4c483a
* lisp/eshell/*.el: Use lexical-binding.
...
* test/automated/eshell.el: Move from test/eshell.el.
(eshell-test/for-loop, eshell-test/for-name-loop): New tests.
Fixes: debbugs:15231
2013-09-12 16:15:53 -04:00
Glenn Morris
da0752f937
* lisp/cedet/semantic/find.el (semantic-find-first-tag-by-name):
...
Replace obsolete function assoc-ignore-case with assoc-string.
2013-09-12 13:23:48 -04:00
Eli Zaretskii
347ae3e143
lisp.mk (lisp): Add w32-common-fns.elc.
2013-09-12 19:05:12 +03:00
Kenichi Handa
56d968a488
merge trunk
2013-09-12 23:48:18 +09:00
Kenichi Handa
b5623270b6
composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2013-09-12 23:45:28 +09:00
Xue Fuqiao
4dfa4b9bd9
Comments.
2013-09-12 22:21:21 +08:00
Xue Fuqiao
15c6d837a5
* src/charset.c (char_charset): Document an exception for char-charset.
2013-09-12 21:12:39 +08:00
Xue Fuqiao
99d8e6d6c2
* doc/lispref/functions.texi (Obsolete Functions): Add an index for obsolete functions.
2013-09-12 20:22:17 +08:00
Xue Fuqiao
384a7d723e
* doc/emacs/text.texi (Enriched Justification): Explain values of default-justification.
2013-09-12 20:04:18 +08:00
Dmitry Antipov
27e90f7752
* xterm.h (x_display_info): New field last_user_time...
...
* xterm.c (toplevel): ...to replace static last_user_time.
(handle_one_xevent, x_ewmh_activate_frame): Adjust users.
2013-09-12 11:29:33 +04:00
Glenn Morris
4a503aef7e
Remove superflous comment
2013-09-12 00:00:52 -07:00
Glenn Morris
dea01c6e98
* vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2013-09-11 23:58:57 -07:00
Glenn Morris
aa30fa6f3a
* vc/vc-svn.el (vc-svn-retrieve-tag): Mark unused argument.
2013-09-11 23:55:15 -07:00
Glenn Morris
be94d71300
* vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
...
(vc-svn-ignore): Mark unused arguments.
2013-09-11 23:53:57 -07:00
Glenn Morris
759880bff7
Revert part of previous vc-bzr change
2013-09-11 23:50:18 -07:00
Glenn Morris
a99f655b99
gnus-icalendar small fix
...
* gnus/gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body):
Avoid using `find', which i) might not be defined at runtime;
ii) does not work, since its default test is eql, not equal.
(gnus-mime-action-alist): Declare.
2013-09-11 23:47:07 -07:00
Glenn Morris
44915370e8
* subr.el (do-after-load-evaluation): Also give compiler warnings
...
when obsolete files are used (except by obsolete files).
2013-09-11 23:37:02 -07:00
Dmitry Antipov
8ffbc36b76
* xterm.c (x_set_scroll_bar_thumb) [USE_LUCID && !HAVE_XAW3D]: Clip
...
scroll bar values to prevent thumb from disappear and update comment.
2013-09-12 10:29:13 +04:00
Glenn Morris
a6ae021fd3
* vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
...
in the status output, assume `filename' is the first.
Fixes: debbugs:15322
2013-09-11 23:21:33 -07:00
Glenn Morris
40e64f0cbd
* lisp/vc/vc.el (vc-deduce-fileset): Doc fix.
2013-09-11 23:10:12 -07:00
Glenn Morris
16d9f8966f
Update some function declarations
...
* calc/calc-help.el (Info-goto-node):
* progmodes/cperl-mode.el (Info-find-node):
* vc/ediff.el (Info-goto-node): Update declarations.
2013-09-11 22:48:22 -07:00
Glenn Morris
96b3f75a80
Silence some vc- compilation warnings
...
* vc/vc-bzr.el (vc-exec-after): Remove unused declaration.
(vc-compilation-mode): Declare.
(vc-bzr-pull): Require vc-dispatcher.
* vc/vc-git.el (vc-compilation-mode): Declare.
(vc-git-pull): Require vc-dispatcher.
2013-09-11 22:45:42 -07:00
Glenn Morris
08d664200f
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2013-09-11 22:43:55 -07:00
Glenn Morris
30b626e980
* lisp/progmodes/octave.el (help-button-action): Declare.
2013-09-11 22:43:23 -07:00
Glenn Morris
8c05cb1082
Fix some minor shell.el oddness related to usage of error and message
...
* lisp/shell.el (shell-directory-tracker): Output error as a message
rather than just returning it as a string.
(shell-process-pushd): Remove useless use of message.
2013-09-11 22:40:50 -07:00
Glenn Morris
30213927b6
Use with-demoted-errors now that it can format any error messages
...
* dframe.el (dframe-timer-fn):
* files.el (dir-locals-read-from-file):
* mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run, mpc-format):
* reveal.el (reveal-post-command):
* saveplace.el (load-save-place-alist-from-file):
* shell.el (shell-resync-dirs):
* w32-common-fns.el (x-get-selection-value):
* emacs-lisp/copyright.el (copyright-find-copyright):
* emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
* emulation/tpu-edt.el (tpu-copy-keyfile):
* play/bubbles.el (bubbles--mark-neighbourhood):
* progmodes/executable.el (executable-make-buffer-file-executable-if-script-p):
* term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2013-09-11 22:32:57 -07:00
Stefan Monnier
170266d096
Cleanup Eshell to rely less on dynamic scoping.
...
* lisp/eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
last-value, and ext-command here. Bind `args' closer to `body'.
(temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
(eshell--args): Declare new dynamic var.
(eshell-do-opt): Add argument `args'. Bind our own usage-msg,
last-value, and ext-command. Pass `args' to `body'.
(eshell-process-args): Bind eshell--args.
(eshell-set-option): Use eshell--args.
* lisp/eshell/eshell.el (eshell): Use derived-mode-p.
* lisp/eshell/esh-var.el (eshell-parse-variable): Use backquote.
(eshell-parse-variable-ref): Remove unused vars `end' and `err'.
(eshell-glob-function): Declare.
* lisp/eshell/esh-util.el: Require cl-lib.
(eshell-read-hosts-file): Avoid add-to-list.
* lisp/eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
`err'.
* lisp/eshell/em-unix.el (compilation-scroll-output, locate-history-list):
Declare.
(eshell/diff): Remove unused var `err'.
* lisp/eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
`killflag'.
* lisp/eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
* lisp/eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
first use.
* lisp/eshell/em-glob.el (eshell-glob-matches, message-shown):
Move declaration before first use.
* lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
* autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
rely on cl-return.
2013-09-12 01:20:07 -04:00
Stefan Monnier
d3b049e601
* lisp/autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
...
rely on cl-return.
2013-09-12 00:56:51 -04:00
Glenn Morris
56834f3b63
* lisp/term/ns-win.el (global-map): Remove binding for ispell-next,
...
deleted 1999-05-29.
Fixes: debbugs:15357
2013-09-11 21:32:45 -04:00
Xue Fuqiao
44ee21472c
Character properties fix in lispref.
...
* doc/lispref/nonascii.texi (Character Properties): Character properties fix
for decimal-digit-value and digit-value.
2013-09-12 07:05:21 +08:00
Glenn Morris
aab6e902f9
Comment
2013-09-11 14:40:06 -04:00
Glenn Morris
ed88649ee1
* lisp/play/landmark.el: Yet more typo fixes.
2013-09-11 14:36:51 -04:00
Glenn Morris
da712f22f9
* lisp/echistory.el (electric-command-history): Remove call to deleted func.
2013-09-11 14:33:58 -04:00
Glenn Morris
512e4cdc0d
* lisp/play/landmark.el (landmark-mode): Fix typos.
2013-09-11 14:32:32 -04:00
Glenn Morris
d3506ca5a0
* lisp/vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
...
Check cvs-sort-ignore-file is bound.
2013-09-11 14:31:45 -04:00
Glenn Morris
5ec0337a36
* src/emacs.c (usage_message): Possessive apostrophe tweak.
...
Likewise in some comments.
2013-09-11 13:31:29 -04:00
Glenn Morris
5c91a2b88d
* lisp/savehist.el: No need for cl when compiling on Emacs.
2013-09-11 13:27:22 -04:00
Dmitry Antipov
8d2db8be5b
* nsterm.m (syms_of_nsterm): Use Qns.
...
* w32fns.c (Fx_open_connection): Remove old '#if 0' code.
* w32term.c (w32_create_terminal, syms_of_w32term): Use Qw32.
* xfns.c (x_display_info_for_name, Fx_open_connection):
Remove old '#if 0' code.
(syms_of_xfns): Use Qx.
2013-09-11 20:03:42 +04:00
Stefan Monnier
656bd48388
* lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization.
...
(eshell-self-insert-command, eshell-send-invisible): Remove
unused argument.
(eshell-handle-control-codes): Remove unused var `orig'.
Avoid delete-backward-char.
Fixes: debbugs:15338
2013-09-11 12:00:37 -04:00
Xue Fuqiao
412a09723c
Minor fixes for ido.texi.
...
* doc/misc/ido.texi (Interactive Substring Matching): Use @key{RET}
instead of @kbd{RET}.
(Prefix Matching): Add an index.
2013-09-11 22:06:22 +08:00
Dmitry Antipov
fb55b9d11e
* termhooks.h (fullscreen_hook): Remove the leftover.
...
(struct terminal): Fix typo in comment.
2013-09-11 17:56:46 +04:00
Dmitry Antipov
927eec5579
Cleaning up a few X scroll bar bits.
...
* termhooks.h (enum scroll_bar_part): Add scroll_bar_nowhere member.
* xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS && USE_LUCID]:
New member last_seen_part, going to replace...
* xterm.c [USE_TOOLKIT_SCROLL_BARS]: ...global last_scroll_bar_part.
(xt_action_hook) [USE_LUCID]: Adjust user.
(xm_scroll_callback, xg_scroll_callback): Do not bloat with
Lucid-specific scroll bar support.
(xaw_jump_callback, xaw_scroll_callback): Prefer enum scroll_par_part
to int and adjust to use last_seen_part member.
(x_set_toolkit_scroll_bar_thumb) [USE_LUCID]: Adjust user.
(x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS && USE_LUCID]:
Initialize last_seen_part.
2013-09-11 17:35:28 +04:00
Stefan Monnier
feeff482d8
* lisp/files.el (set-auto-mode): Simplify a bit further.
2013-09-11 08:36:59 -04:00
Stefan Monnier
71b28baa2b
* src/insdel.c (insert_from_buffer_1): Don't mark buffer as modified when
...
insert-buffer-substring an empty string.
2013-09-11 08:28:01 -04:00
Paul Eggert
f5dacaaec0
* xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out,
...
avoiding a GCC warning.
2013-09-11 03:24:48 -07:00
Glenn Morris
16471df352
Auto-commit of loaddefs files.
2013-09-11 06:19:47 -04:00