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

99458 commits

Author SHA1 Message Date
Paul Eggert
d284567f96 * term.c (produce_glyphless_glyph): Remove unnecessary test. 2011-03-23 01:09:13 -07:00
Paul Eggert
12ea59a297 * cm.c (calccost): Turn while-do into do-while, for clarity. 2011-03-23 01:06:21 -07:00
Glenn Morris
6ad6792b39 Auto-commit of generated files. 2011-03-23 00:09:49 -04:00
Glenn Morris
abd57f5960 * admin/notes/copyright: Remove comments about deleted files in src/{m,s}.
Files that were merged into other files have been kept.
2011-03-22 20:38:15 -07:00
Glenn Morris
fe7be2210f Fix ChangeLog typo. 2011-03-22 20:32:55 -07:00
Glenn Morris
8cc1d51933 Replace mkinstalldirs with `install-sh -d', as automake recommends.
* Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs.
(sync-from-gnulib): Don't sync mkinstalldirs.

* make-dist: Don't distribute mkinstalldirs.

* leim/Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs.

* lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
Use `install-sh -d' rather than mkinstalldirs.

* configure.in, doc/emacs/Makefile.in: Update comments.

* admin/notes/copyright: Remove mkinstalldirs.
2011-03-22 20:09:55 -07:00
Glenn Morris
8ae17ff2bf * admin/notes/bzr: Update bzr changelog_merge plugin details. 2011-03-22 19:57:57 -07:00
Glenn Morris
18d05bed65 esh-opt trivia.
* lisp/eshell/esh-opt.el (eshell-eval-using-options):
Do not bind unused local variable `eshell-option-stub'.
2011-03-22 19:52:52 -07:00
Glenn Morris
927c53e762 * lisp/progmodes/gdb-mi.el (gdb): Fix typo in previous change. 2011-03-22 19:50:28 -07:00
Paul Eggert
c9c49752e1 Fix more problems found by GCC 4.5.2's static checks. 2011-03-22 18:01:59 -07:00
Paul Eggert
b9b4b7cb4c Merge removals from trunk. 2011-03-22 17:53:37 -07:00
Paul Eggert
2c520ab5fb Merge from mainline. 2011-03-22 17:24:09 -07:00
Juanma Barranquero
9d0da923eb lisp/emacs-lisp/derived.el: Don't warn about keymaps already `defconst'ed. 2011-03-22 21:58:27 +01:00
Sebastian Hermida
6508470910 * etc/themes/misterioso-theme.el: New file. 2011-03-22 14:59:50 -04:00
Chong Yidong
c59da222fa Remove an apparently unnecessary XClearWindow call.
* src/xterm.c (x_clear_frame): Remove XClearWindow call.  This appears
not to be necessary, and produces flickering.
2011-03-22 14:15:52 -04:00
Paul Eggert
8af8e70ee5 Merge from mainline. 2011-03-22 10:33:16 -07:00
Paul Eggert
b12ef41167 Add Bug# 2011-03-22 09:43:12 -07:00
Paul Eggert
8abc3f1295 * coding.c (encode_coding_raw_text): Avoid unnecessary test
the first time through the loop, since we know p0 < p1 then.
This also avoids a gcc -Wstrict-overflow warning.
2011-03-22 09:20:45 -07:00
Leo Liu
4b978a677c Use utf-8 if safe for writing to abbrev file
and fall back on emacs-mule or utf-8-emacs.
2011-03-22 23:38:40 +08:00
Juanma Barranquero
0b1596c6ad lisp/simple.el: Avoid warning about `delete-backward-char'. 2011-03-22 16:15:21 +01:00
Julien Danjou
247c22e185 mm-view.el (mm-display-inline-fontify): Make mode optional, and call normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer query.
(mm-inline-text): Render normal text with fontification whenever possible.
gnus-sum.el (gnus-summary-save-parts-1):
gnus-art.el (gnus-article-browse-html-save-cid-content)
 (gnus-article-browse-html-parts, gnus-mime-delete-part)
 (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
 Use `mm-handle-filename'.
mm-util.el (mm-handle-filename): New function, return the filename of an handle.
2011-03-22 13:40:41 +00:00
Juanma Barranquero
5fd6245244 lisp/image.el: Avoid some warnings.
* image.el (image-type-file-name-regexps): Make it variable.
  `imagemagick-register-types' modifies it, and the user may want
  to add new extensions for known image types.
  (imagemagick-register-types): Throw error if not using ImageMagick.
2011-03-22 14:10:43 +01:00
Leo Liu
9882e21494 New variable rcirc-user-authenticated to pacify compiler 2011-03-22 19:51:48 +08:00
Leo Liu
0b4e93f177 Handle the case when re-search-backward errs
because point is not located after rcirc-prompt-end-marker.
2011-03-22 19:30:05 +08:00
Andreas Schwab
90346de2b2 .gitignore: Add aclocal.m4, configure, lib/Makefile.in, src/config.in. 2011-03-22 10:37:37 +01:00
Paul Eggert
a2d2666036 * lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Avoid 'int' overflow
leading to a memory leak, possible in functions like
load_charset_map_from_file that can allocate an unbounded number
of objects.
2011-03-22 02:08:11 -07:00
Paul Eggert
916c72e97a * xmenu.c (set_frame_menubar): Use EMACS_UINT, not int, for indexes
that could (at least in theory) be that large.
2011-03-22 01:59:50 -07:00
Paul Eggert
b7cbbd6f01 * xdisp.c (pint2hrstr): Simplify and tune code slightly.
This also avoids a (bogus) GCC warning with gcc -Wstrict-overflow.
2011-03-22 01:15:43 -07:00
Paul Eggert
19ab8a188a * xdisp.c (message_log_check_duplicate): Return unsigned long, not int.
This is less likely to overflow, and avoids undefined behavior if
overflow does occur.  All callers changed.  Use strtoul to scan
for the unsigned long integer.
2011-03-22 01:10:11 -07:00
Paul Eggert
f0641eff4f * scroll.c (do_scrolling): Work around GCC bug 48228.
See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
2011-03-22 00:48:10 -07:00
Glenn Morris
34cb1cc610 copy_autogen tweaks.
* autogen/copy_autogen: Work from ./ or ../.
Fix time-stamps.
* autogen.sh: Doc fix.
2011-03-21 20:28:41 -07:00
Chong Yidong
fccee4ab72 Special handling of the `custom-enabled-themes' custom variable.
* lisp/custom.el (custom--inhibit-theme-enable): Make it affect only
custom-theme-set-variables and custom-theme-set-faces.
(provide-theme): Ignore custom--inhibit-theme-enable.
(load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
(custom-enabling-themes): Delete variable.
(enable-theme): Accept only loaded themes as arguments.  Ignore
the special custom-enabled-themes variable.
(custom-enabled-themes): Forbid themes from setting this.
Eliminate use of custom-enabling-themes.
(custom-push-theme): Quote "changed" custom var entry.
2011-03-21 20:30:23 -04:00
Chong Yidong
0357c7ae9c * lisp/custom.el (custom-push-theme): Quote "changed" custom var entry. 2011-03-21 18:09:52 -04:00
Paul Eggert
39f5e5198f * frame.c (validate_x_resource_name): Simplify count usage.
This also avoids a warning with gcc -Wstrict-overflow.
2011-03-21 11:12:38 -07:00
Paul Eggert
5ffe6683c3 Better version of previous patch. 2011-03-21 11:11:03 -07:00
Paul Eggert
7f650bb9a8 * frame.c (Fmodify_frame_parameters): Simplify loop counter.
This also avoids a warning with gcc -Wstrict-overflow.
2011-03-21 11:09:45 -07:00
Paul Eggert
b1f961e1fa * ebrowse.c: Use size_t, not int, for sizes.
This avoids a warning with gcc -Wstrict-overflow, and works
better for very large objects.
(inbuffer_size): Now size_t.  All uses changed.
(xmalloc, xrealloc, operator_name, process_file): Use size_t for
sizes.  Don't bother testing whether a size_t value can be negative.
2011-03-21 11:03:15 -07:00
Leo Liu
af896da66a Fix history adding in ido-read-internal
Assume, for example, the head of matches is "RSS" and user input is
"rs". If the user hit RET, "RSS" is selected but "rs" is added to the
history. This commit fixes this inconsistency.
2011-03-22 01:48:36 +08:00
Paul Eggert
58cb46fbf4 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning. 2011-03-21 09:41:03 -07:00
Paul Eggert
3ef271f27f etags: In Prolog functions, don't assume int fits in size_t.
This avoids a warning with gcc -Wstrict-overflow.
* etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
not int, to store sizes.
(prolog_atom): Return 0, not -1, on error.  All callers changed.
2011-03-21 09:40:05 -07:00
Stefan Monnier
78f64af0ae * subr.el (deferred-action-list, deferred-action-function): Mark obsolete. 2011-03-21 12:34:16 -04:00
Paul Eggert
a44c5709ce Merge from gnulib. 2011-03-21 09:26:05 -07:00
Paul Eggert
5d6d7e5701 Add Bug#. 2011-03-21 09:22:16 -07:00
Leo Liu
810f76988a Remove leftover (require 'wid-edit) 2011-03-21 23:26:05 +08:00
Leo Liu
b16ac1ecab Default read-file-name-function to a non-nil value
See discussion thread:
http://thread.gmane.org/gmane.emacs.devel/134000
2011-03-21 22:55:00 +08:00
Paul Eggert
f0d80d43ba update-game-score: fix bug with -r
* update-game-score.c (main): Don't set 'scores' to garbage when
-r is specified and scorecount != MAX_SCORES.  This bug was
introduced in the 2002-04-10 change, and was found with gcc
-Wstrict-overflow (GCC 4.5.2, x86-64).
2011-03-21 00:46:53 -07:00
Glenn Morris
4e05e67e4c * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args): Doc fixes. 2011-03-20 23:42:23 -07:00
Paul Eggert
37dd57d1e5 Add Bug#. 2011-03-20 22:50:24 -07:00
Paul Eggert
6e5fa6bfce Merge from trunk and from gnulib stdio. 2011-03-20 22:34:48 -07:00
Paul Eggert
77185bdf91 Autogenerate. 2011-03-20 22:06:47 -07:00