1. 02 Jun, 2012 11 commits
    • Paul Eggert's avatar
      773d47f6
    • Stefan Monnier's avatar
      * lisp/simple.el (execute-extended-command): Set real-this-command. · f2d6a3df
      Stefan Monnier authored
      * src/keyboard.c: Export real-this-command to Elisp.
      (syms_of_keyboard): Rename real_this_command to Vreal_this_command
      and DEFVAR it.  Update all users.
      
      Fixes: debbugs:11506
      f2d6a3df
    • Paul Eggert's avatar
      7bd5c1f4
    • Paul Eggert's avatar
      * sysdep.c (system_process_attributes) [SOLARIS2 && HAVE_PROCFS]: · 63810350
      Paul Eggert authored
      Convert pctcpu and pctmem to Lisp float properly.
      Let the compiler fold better, as 100.0/0x8000 is exact.
      63810350
    • Stefan Merten's avatar
      4cf9b38d
    • Chong Yidong's avatar
      Remove incorrect uses of "modeline". · 37269466
      Chong Yidong authored
      * ansi-color.el (ansi-color-faces-vector): Change default faces.
      
      * cus-edit.el (mode-line):
      * dframe.el (dframe-mouse-hscroll):
      * emacs-lisp/re-builder.el:
      * emacs-lisp/easy-mmode.el (define-minor-mode):
      * frame.el (set-frame-name):
      * help.el (lookup-minor-mode-from-indicator):
      * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
      * progmodes/cc-cmds.el (c-toggle-auto-newline)
      (c-toggle-hungry-state):
      * progmodes/antlr-mode.el (antlr-language-alist):
      * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
      * progmodes/vhdl-mode.el (vhdl-mode):
      * progmodes/which-func.el (which-func, which-func-cleanup-function):
      * term/ns-win.el (ns-face-at-pos):
      * term/sup-mouse.el (sup-mouse-report):
      * textmodes/flyspell.el (flyspell-mode-line-string):
      * textmodes/ispell.el (ispell-highlight-face):
      * textmodes/reftex-global.el:
      * vc/vc-arch.el (vc-arch-mode-line-string):
      * vc/vc-cvs.el (vc-cvs-mode-line-string):
      * vc/vc-git.el (vc-git-mode-line-string):
      * vc/vc-hooks.el (vc-display-status)
      (vc-default-mode-line-string):
      * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
      
      * dired.el (dired-sort-set-mode-line): Rename from
      dired-sort-set-modeline.  All callers changed.
      
      * foldout.el (foldout-mode-line-string): Rename from
      foldout-modeline-string.  All callers changed.
      (foldout-update-mode-line): Rename from foldout-update-modeline.
      
      * strokes.el (strokes-lighter): Rename from
      strokes-modeline-string.
      
      * subr.el (redraw-modeline): Make into obsolete alias.
      
      * calendar/timeclock.el (timeclock-mode-line-display): Rename from
      timeclock-modeline-display.  Make old name an alias.
      (timeclock-update-mode-line): Likewise.  All callers changed.
      (timeclock-mode-line-display): No need to check before using
      add-hook.
      (timeclock-relative, timeclock-day-over-hook)
      (timeclock-use-elapsed, timeclock-mode-string)
      (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
      
      * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
      crisp-mode-modeline-string.
      
      * erc-track.el (erc-track, erc-track-faces-priority-list)
      (erc-track-faces-normal-list, erc-track-find-face)
      (erc-track-modified-channels): Fix modeline -> mode line in docs.
      
      * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
      eshell-status-in-modeline.
      
      * org-clock.el (org-clock-string-limit)
      (org-clock-modeline-total, org-clock-task-overrun-text)
      (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
      
      * play/solitaire.el (solitaire-build-mode-line): Rename from
      solitaire-build-modeline.  All callers changed.
      
      * play/zone.el (zone-hiding-mode-line): Rename from
      zone-hiding-modeline.  All callers changed.
      (zone): Remove unusued `modeline-hidden-level' property.
      
      * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
      xscheme-modeline-initialize.  All callers changed.
      
      * textmodes/sgml-mode.el (html-face-tag-alist)
      (html-tag-face-alist): Use mode-line face instead of obsolete
      alias modeline.
      
      Fixes: debbugs:10329
      37269466
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · e7f32283
      Glenn Morris authored
      e7f32283
    • Glenn Morris's avatar
      Auto-commit of generated files. · d710c290
      Glenn Morris authored
      d710c290
    • Stefan Merten's avatar
      Always require `cl'. · 42152ee4
      Stefan Merten authored
      42152ee4
    • Andreas Schwab's avatar
      a2821611
    • Chong Yidong's avatar
      Add more enabled ImageMagick types. · 95f520b5
      Chong Yidong authored
      * lisp/image.el (imagemagick-enabled-types): Rename from
      imagemagick-types-enable.  Add many more types.
      (imagemagick-types-inhibit): Change default to nil.
      (imagemagick-filter-types): Caller changed.
      95f520b5
  2. 01 Jun, 2012 11 commits
  3. 31 May, 2012 10 commits
    • Glenn Morris's avatar
      ChangeLog merge fix · b691b884
      Glenn Morris authored
      b691b884
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Split off imagemagick-filter-types from imagemagick-register-types · 60b5f187
      Glenn Morris authored
      * lisp/image.el: (imagemagick-filter-types): New function.  (Bug#7406)
      (imagemagick-register-types): Use imagemagick-filter-types.
      
      * etc/NEWS: Mention this.
      60b5f187
    • Glenn Morris's avatar
      Add option imagemagick-types-enable · 32d72c2f
      Glenn Morris authored
      * lisp/image.el: For clarity, call imagemagick-register-types at
      top-level, rather than relying on a custom :initialize.
      (imagemagick-types-enable): New option. 
      (imagemagick-register-types): Respect imagemagick-types-inhibit.
      If disabling support, remove elements altogether rather
      than using an impossible regexp.
      (imagemagick-types-inhibit): Give it the default init function.
      
      * src/image.c (Fimagemagick_types): Doc fix.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:11557
      32d72c2f
    • Paul Eggert's avatar
      Pacify gcc -Wdouble-precision when using Xaw. · ca34e0be
      Paul Eggert authored
      * xterm.c (xaw_jump_callback, x_set_toolkit_scroll_bar_thumb)
      [HAVE_X_WINDOWS && USE_TOOLKIT_SCROLL_BARS && !USE_MOTIF && !USE_GTK]:
      Use 'float' consistently, rather than 'float' in most places
      and 'double' in a couple of places.
      ca34e0be
    • Chong Yidong's avatar
    • Stefan Monnier's avatar
      Fix long filename handling of byte-compile-fix-header. · dd41169b
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle
      arbitrary file name lengths (Bug#11585).
      dd41169b
    • Paul Eggert's avatar
      Remove obsolete '#define static' cruft. · ba93a187
      Paul Eggert authored
      * etc/PROBLEMS: Remove obsolete '#define static' cruft.
      * lwlib/xlwmenu.c [emacs]: Include "bitmaps/gray.xbm".
      (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits) [!emacs]:
      Remove; all uses replaced with definiens.
      * src/s/hpux10-20.h (_FILE_OFFSET_BITS): Don't #undef.
      This #undef was "temporary" in 2000; it is no longer needed
      now that '#define static' has gone away.
      * src/xfns.c, src/xterm.h (gray_bitmap_width, gray_bitmap_height)
      (gray_bitmap_bits): Remove; no longer needed.
      All uses replaced with definiens.
      * src/xterm.c: Include "bitmaps/gray.xbm".
      ba93a187
    • Stefan Monnier's avatar
      Add `declare' for `defun'. Align `defmacro's with it. · 500fcedc
      Stefan Monnier authored
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode)
      (define-globalized-minor-mode): Don't autoload the var definitions.
      * lisp/emacs-lisp/byte-run.el: Use lexical-binding.
      (defun-declarations-alist, macro-declarations-alist): New vars.
      (defmacro, defun): Use them.
      (make-obsolete, define-obsolete-function-alias)
      (make-obsolete-variable, define-obsolete-variable-alias):
      Use `declare'.
      (macro-declaration-function): Mark obsolete.
      * lisp/emacs-lisp/autoload.el: Use lexical-binding.
      (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
      500fcedc
    • Juri Linkov's avatar
      * etc/NEWS: Doc fix. · b03b4c00
      Juri Linkov authored
      Fixes: debbugs:11574
      b03b4c00
  4. 30 May, 2012 7 commits
    • Paul Eggert's avatar
      Clean up __executable_start, monstartup when --enable-profiling. · 9e4bf381
      Paul Eggert authored
      The following changes affect the code only when profiling.
      * dispnew.c (__executable_start): Rename from safe_bcopy.
      Define only on platforms that need it.
      * emacs.c: Include <sys/gmon.h> when profiling.
      (_mcleanup): Remove decl, since <sys/gmon.h> does it now.
      (__executable_start): Remove decl, since lisp.h does it now.
      (safe_bcopy): Remove decl; no longer has that name.
      (main): Coalesce #if into single bit of code, for simplicity.
      Cast pointers to uintptr_t, since standard libraries want integers
      and not pointers.
      * lisp.h (__executable_start): New decl.
      9e4bf381
    • Eli Zaretskii's avatar
      Fix bug #11587 with a crash in an Info buffer under linum-mode. · d5fd2c54
      Eli Zaretskii authored
       src/xdisp.c (handle_stop): Detect whether we have overlay strings
       loaded by testing it->current.overlay_string_index to be
       non-negative, instead of checking whether n_overlay_strings is
       positive.
      d5fd2c54
    • Agustín Martín's avatar
      ispell.el: Define `ispell-with-no-warnings' as a macro. Deal with obsolete `interactive-p' · 6e8a1786
      Agustín Martín authored
      * Current `ispell-with-no-warnings' definition does not avoid warnings.
        Use a macro definition taken from orgmode.
      
      * Deal with a couple of occurrences of obsolete `interactive-p'.
      6e8a1786
    • Jim Meyering's avatar
      Improve call-process-region error message. · baac5bc7
      Jim Meyering authored
      * src/callproc.c (Fcall_process_region): Include directory component
      in mkstemp error message.
      
      Fixes: debbugs:11586
      baac5bc7
    • Chong Yidong's avatar
      * keymap.c (describe_map_tree): Revert 2011-07-07 change. · 353c87f6
      Chong Yidong authored
      * doc.c (Fsubstitute_command_keys): Doc fix.
      
      Fixes: debbugs:1169
      353c87f6
    • Paul Eggert's avatar
      72cb32cf
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/byte-run.el (defmacro, defun): Move from C. · 61b108cc
      Stefan Monnier authored
      (macro-declaration-function): Move var from C code.
      (macro-declaration-function): Define function with defalias.
      * lisp/emacs-lisp/macroexp.el (macroexpand-all-1):
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
      defun/defmacro any more.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
      Provide fallback for unknown arglist.
      (byte-compile-arglist-warn): Change calling convention.
      (byte-compile-output-file-form): Move print-vars binding.
      (byte-compile-output-docform): Simplify accordingly.
      (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
      (byte-compile-defmacro-declaration): Remove.
      (byte-compile-file-form-defmumble): Generalize to defalias.
      (byte-compile-output-as-comment): Return byte-positions.
      Simplify callers accordingly.
      (byte-compile-lambda): Use `assert'.
      (byte-compile-defun, byte-compile-defmacro): Remove.
      (byte-compile-file-form-defalias):
      Use byte-compile-file-form-defmumble.
      (byte-compile-defalias-warn): Remove.
      * src/eval.c (Fdefun, Fdefmacro, Vmacro_declaration_function):
      Move to byte-run.el.
      (Fautoload): Do the hash-doc more carefully.
      * src/data.c (Fdefalias): Purify definition, except for keymaps.
      (Qdefun): Move from eval.c.
      * src/lisp.h (Qdefun): Remove.
      * src/lread.c (read1): Tiny simplification.
      * lib-src/make-docfile.c: Improve comment style.
      (search_lisp_doc_at_eol): New function.
      (scan_lisp_file): Use it.
      61b108cc
  5. 29 May, 2012 1 commit