Leo Liu
837fd9af07
* progmodes/octave.el (inferior-octave-directory-tracker-resync):
...
New variable.
(inferior-octave-directory-tracker): Automatically re-sync
default-directory.
(octave-help): Improve handling of 'See also'.
2013-05-27 13:08:04 +08:00
Stefan Monnier
416f18027e
* lisp/doc-view.el: Minor naming convention tweaks.
...
(desktop-buffer-mode-handlers): Don't add to it repeatedly.
2013-05-26 21:08:43 -04:00
Stefan Monnier
4fd996b389
* lisp/image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
...
even if there's no `display' property yet.
Fixes: debbugs:14435
2013-05-26 20:59:33 -04:00
Eli Zaretskii
bc1dd793bd
Rename unmsys--filename to unmsys--file-name.
2013-05-25 19:05:19 +03:00
Eli Zaretskii
a052ef3bef
Rename reveal-filename into unmsys--filename.
...
lisp/subr.el (unmsys--filename): Renamed from reveal-filename.
lisp/Makefile.in (custom-deps, finder-data, autoloads)
($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
($(CAL_DIR)/hol-loaddefs.el): All users changed.
leim/Makefile.in (leim-list.el, check-declare): Replace
reveal-filename with unmsys--filename.
2013-05-25 10:19:50 +03:00
Stefan Monnier
df76dacbd1
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Don't burp at EOB.
...
Fixes: debbugs:14446
2013-05-24 23:08:04 -04:00
Stefan Monnier
c902337068
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
...
error-completion on the first 2 args of condition-case.
Fixes: debbugs:14446
2013-05-24 23:00:13 -04:00
Leo Liu
24d699fab1
* comint.el (comint-previous-matching-input): Do not flood the
...
*Messages* buffer with trivial messages.
2013-05-25 10:40:33 +08:00
Stefan Monnier
17e5c0cc8f
* lisp/simple.el (read--expression): New function, extracted from
...
eval-expression. Set completion-at-point-functions.
(eval-expression, eval-minibuffer): Use it.
* lisp/progmodes/flymake.el (flymake-nop): Don't return a string.
(flymake-set-at): Fix typo.
Fixes: debbugs:14465
2013-05-24 22:21:49 -04:00
Xue Fuqiao
5d028165ea
Refine the documentation of Flymake
...
* progmodes/flymake.el (flymake-save-buffer-in-file)
(flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
(flymake-selected-frame, flymake-log, flymake-ins-after)
(flymake-set-at, flymake-get-buildfile-from-cache)
(flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
(flymake-find-possible-master-files, flymake-save-buffer-in-file):
Refine the doc string.
(flymake-get-file-name-mode-and-masks): Reformat.
(flymake-get-real-file-name-function): Fix a minor bug.
* flymake.texi: Changing from one space between sentences to two.
2013-05-25 09:26:12 +08:00
Juri Linkov
7a1d7ba7d2
* lisp/progmodes/grep.el (grep-mode-font-lock-keywords): Support =linenumber=
...
format used by git-grep for lines with function names.
Fixes: debbugs:13549
2013-05-24 23:54:38 +03:00
Stefan Monnier
650cff3d87
* lisp/emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
...
(smie-setup): Use add-function to set it.
* lisp/progmodes/octave.el (octave-smie-rules): Return nil rather than
0 after a semi-colon; it works better for smie-auto-fill.
(octave--indent-new-comment-line): New function.
(octave-indent-new-comment-line): Use it (indirectly).
(octave-mode): Don't disable smie-auto-fill. Use add-function to
modify comment-line-break-function.
2013-05-24 15:37:55 -04:00
Sam Steingold
9631677d73
* lisp/sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
...
argument (before the `interactive' argument).
2013-05-24 14:39:21 -04:00
Stefan Monnier
5010583555
* lisp/image-mode.el (image-mode-winprops): Add winprops to
...
image-mode-winprops-alist before running image-mode-new-window-functions.
* lisp/doc-view.el (doc-view-new-window-function): Don't delay
doc-view-goto-page via timers.
Fixes: debbugs:14435
2013-05-24 13:42:23 -04:00
Julien Danjou
a4f59c0fb9
lisp/gnus/sieve.el (sieve-setup-buffer): Fix default port value in sieve buffer setup
2013-05-24 14:36:12 +00:00
Tassilo Horn
57b9823ec7
* doc-view.el: Integrate with desktop.el. (Bug#14435)
...
(doc-view-desktop-save-buffer): New function.
(doc-view-restore-desktop-buffer): New function.
(desktop-buffer-mode-handlers): Add
`doc-view-restore-desktop-buffer' as desktop.el buffer mode
handler.
(doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
`desktop-save-buffer' function.
2013-05-24 12:54:20 +02:00
Michael Albinus
ec07637946
* net/xesam.el: Move to obsolete/.
2013-05-24 12:35:56 +02:00
Michael Albinus
91aafa1613
* net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
...
(tramp-gvfs-file-name-handler): Raise a user error when
`tramp-gvfs-enabled' is nil.
(top): Register signals only when `tramp-gvfs-enabled' is non-nil.
Do not raise a user error when loading package. (Bug#14447)
2013-05-24 12:03:45 +02:00
Glenn Morris
e670054b66
Silence some cedet compilation warnings
...
* cedet/semantic/bovine/c-by.el (semantic-parse-region):
* cedet/semantic/wisent/javat-wy.el (semantic-parse-region):
* cedet/semantic/wisent/js-wy.el (semantic-parse-region):
* cedet/semantic/wisent/python-wy.el (semantic-parse-region): Declare.
* cedet/semantic/bovine/grammar.el (bovine-make-parsers):
Avoid free variable `copyright-end'.
2013-05-24 00:01:49 -07:00
Glenn Morris
af5c7606d1
* font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
2013-05-23 23:59:55 -07:00
Glenn Morris
e5d1916a72
* emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
2013-05-23 23:59:13 -07:00
Glenn Morris
ded62b0881
Silence some cperl-mode compiler warnings
...
* progmodes/cperl-mode.el (cperl-mode): Use fboundp.
(Info-find-node, Man-getpage-in-background): Declare.
2013-05-23 23:57:39 -07:00
Glenn Morris
9e614a3fa0
* mail/unrmail.el (unrmail): Replace obsolete detect-coding-with-priority.
2013-05-23 23:55:45 -07:00
Glenn Morris
892f8ca389
socks.el small cleanup
...
* lisp/net/socks.el (socks-split-string): Use this rather than split-string.
(socks-nslookup-host): Update for above change.
(dynamic-choice, s5-dynamic-choice-match)
(s5-dynamic-choice-match-inline, s5-widget-value-create):
Comment out unused code.
Comment out other unused code in a more standard manner, with ";"
rather than "'".
2013-05-23 23:53:54 -07:00
Glenn Morris
3c29197330
Gud tooltip tweak
...
* tooltip.el (tooltip-use-echo-area): Warn only on 'set.
* progmodes/gud.el (gud-gdb-completion-function): Move before use.
(gud-tooltip-echo-area): Make obsolete.
(gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
2013-05-23 23:50:22 -07:00
Glenn Morris
43cc956bb8
* lisp/progmodes/js.el (js--optimize-arglist): Declare.
2013-05-23 20:50:31 -07:00
Glenn Morris
dab49a3b21
* progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
2013-05-23 20:49:52 -07:00
Glenn Morris
36b9d0851b
* which-func.el (ediff-window-A, ediff-window-B, (ediff-window-C): Declare.
2013-05-23 20:49:17 -07:00
Glenn Morris
e354ae76cf
* pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el: Tweak requires to silence compiler.
2013-05-23 20:47:23 -07:00
Glenn Morris
b8e57bf420
Silence sym-comp compilation
...
* obsolete/sym-comp.el: No need to load hipper-exp when compiling.
(he-search-string, he-tried-table, he-expand-list)
(he-init-string, he-string-member, he-substitute-string)
(he-reset-string): Declare.
2013-05-23 20:45:50 -07:00
Glenn Morris
db785726cc
* options.el (list-options): Use custom-variable-p, rather than obsolete alias.
2013-05-23 20:42:55 -07:00
Sam Steingold
b3531901c6
* simple.el (shell-command-on-region): Pass the `replace' argument
...
down to `call-process-region' to comply with he doc as reported on
<http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region >
2013-05-23 17:01:47 -04:00
Stefan Monnier
bdda4c66ac
* lisp/emacs-lisp/smie.el (smie-indent-forward-token)
...
(smie-indent-backward-token): Handle string tokens.
Fixes: debbugs:14381
2013-05-23 13:44:38 -04:00
Rüdiger Sonderfeld
fe1eb856c5
* lisp/ielm.el (ielm-menu): New menu.
...
(inferior-emacs-lisp-mode): Set comment-start.
2013-05-23 11:27:48 -04:00
Tassilo Horn
961721282b
* lisp/textmodes/reftex.el (reftex-ref-style-toggle): Fix deactivate
...
action.
2013-05-23 17:26:20 +02:00
Tassilo Horn
074dd971a3
* lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleveref
...
macros.
2013-05-23 17:24:21 +02:00
Tassilo Horn
c43d45f9de
* lisp/textmodes/reftex-parse.el (reftex-locate-bibliography-files):
...
Accept options for bibliography commands.
* lisp/textmodes/reftex-vars.el (reftex-bibliography-commands): Add
addbibresource. Basic Biblatex support.
2013-05-23 17:21:54 +02:00
Michael Albinus
7764286ea6
* net/tramp-gvfs.el (top):
...
* net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
when loading package. (Bug#14447)
2013-05-23 10:43:18 +02:00
Glenn Morris
7efe099165
Silence em-ls compilation
...
* lisp/eshell/em-ls.el: Adjust requires.
(eshell-glob-regexp): Declare.
2013-05-23 00:55:52 -07:00
Glenn Morris
f707048c02
Silence gnus-util compilation
...
* lisp/gnus/gnus-util.el (rmail-swap-buffers-maybe)
(rmail-maybe-set-message-counters, rmail-count-new-messages)
(rmail-summary-exists, rmail-show-message, rmail-summary-displayed)
(rmail-pop-to-buffer, rmail-maybe-display-summary): Declare.
2013-05-23 00:52:19 -07:00
Glenn Morris
c2fc00be72
Fix declaration typo
2013-05-23 00:42:16 -07:00
Glenn Morris
8fa2398418
Silence some js compilation warnings
...
* lisp/progmodes/js.el: No need to load comint when compiling.
(ring-insert, comint-send-string, comint-send-input)
(comint-last-input-end, ido-chop): Declare.
2013-05-23 00:37:56 -07:00
Glenn Morris
a5c7df1a4b
Silence ediff compilation
...
* lisp/vc/ediff-diff.el, lisp/vc/ediff-merg.el: Require ediff-util at run-time.
* lisp/vc/ediff-mult.el: Adjust requires.
(ediff-directories-internal, ediff-directory-revisions-internal)
(ediff-patch-file-internal): Declare.
* lisp/vc/ediff-ptch.el: Adjust requires.
(ediff-use-last-dir, ediff-buffers-internal): Declare.
(ediff-find-file): Autoload.
* lisp/vc/ediff-util.el: No need to load ediff when compiling.
(ediff-regions-internal): Declare.
* lisp/vc/ediff-wind.el: Adjust requires.
(ediff-compute-toolbar-width): Define when compiling.
(ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
* lisp/vc/ediff.el: No need to load dired, ediff-ptch when compiling.
(dired-get-filename, dired-get-marked-files)
(ediff-last-dir-patch, ediff-patch-default-directory)
(ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
(ediff-patch-buffer-internal): Declare.
2013-05-23 00:10:05 -07:00
Glenn Morris
c7641e3c89
Silence some gnus compilation warnings
...
* gnus/mm-decode.el: No need to load term when compiling.
(term-mode, term-char-mode): Declare.
* gnus/mm-util.el: No need to load jka-compr when compiling.
(jka-compr-acceptable-retval-list, jka-compr-make-temp-name): Declare.
* gnus/nnmaildir.el: Require is automatically eval-and-compile.
(nnmail): Require at run-time too.
* gnus/registry.el (registry-size): Move definition before use.
2013-05-22 22:05:27 -07:00
Glenn Morris
e2aec513de
Silence checkdoc.el compilation
...
* lisp/emacs-lisp/checkdoc.el: No need to load ispell when compiling.
(ispell-process, ispell-buffer-local-words, lm-summary)
(lm-section-start, lm-section-end): Declare.
(checkdoc-ispell-init): Simplify.
2013-05-22 22:01:59 -07:00
Glenn Morris
e68bbd7c43
Silence vera-mode compilation
...
* lisp/progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
(he-string-member, he-reset-string, he-substitute-string): Declare.
2013-05-22 21:59:14 -07:00
Glenn Morris
be32a13ff5
* lisp/url/url.el (mm-dissect-buffer, mm-display-part): Declare.
2013-05-22 21:58:09 -07:00
Glenn Morris
f87b128460
Silence many eshell compilation warnings
...
* lisp/eshell/em-tramp.el: Adjust requires.
(eshell-parse-command): Autoload.
* lisp/eshell/em-xtra.el: Adjust requires.
(eshell-parse-command): Autoload.
* lisp/eshell/esh-ext.el: Adjust requires.
(eshell-parse-command, eshell-close-handles): Autoload.
* lisp/eshell/esh-io.el: Adjust requires.
(eshell-output-filter): Autoload.
* lisp/eshell/esh-util.el: No need to load tramp when compiling.
(tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime): Declare.
(eshell-parse-ange-ls): Require ange-ftp and tramp.
* lisp/eshell/em-alias.el, lisp/eshell/em-banner.el, lisp/eshell/em-basic.el:
* lisp/eshell/em-cmpl.el, lisp/eshell/em-glob.el, lisp/eshell/em-pred.el:
* lisp/eshell/em-prompt.el, lisp/eshell/em-rebind.el, lisp/eshell/em-smart.el:
* lisp/eshell/em-term.el, lisp/eshell/esh-arg.el, lisp/eshell/esh-mode.el:
* lisp/eshell/esh-opt.el, lisp/eshell/esh-proc.el:
* lisp/eshell/esh-var.el: Adjust requires.
* lisp/eshell/eshell.el: Do not require esh-util twice.
(eshell-add-input-to-history): Declare.
(eshell-command): Check history module is active before using it.
2013-05-22 21:57:27 -07:00
Glenn Morris
d361bc10dc
* lisp/eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
2013-05-22 21:48:40 -07:00
Adam Sjøgren
d8a6e1afd3
lisp/gnus/gnus-spec.el (gnus-parse-complex-format): Try to maximize compatibility
2013-05-22 22:16:29 +00:00