1. 16 Apr, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · bf6b4923
      Eli Zaretskii authored
       src/unexcoff.c [MSDOS]: Include libc/atexit.h.
       (copy_text_and_data): Zero out the atexit chain pointer before
       dumping Emacs.
       src/termhooks.h (encode_terminal_code): Update prototype.
       src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
       visible for all DOS_NT ports, not just WINDOWSNT.
       (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
       src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
       unless it is defined.
       (emacs_pipe) [MSDOS]: Redirect to 'pipe'.
       src/process.c (close_on_exec, accept4, process_socket): Move into
       the "ifdef subprocesses" part.
       (catch_child_signal): Condition by "ifdef subprocesses".
       (syms_of_process) <Qinternal_default_process_sentinel>
       <Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
       src/msdos.h: Add prototypes for new functions.
       (EINPROGRESS): Define.
       (O_CLOEXEC): Define to zero.
       src/msdos.c (check_window_system): Remove unnecessary an
       incompatible duplicate function.
       (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
       functions in support of new functionality.
       src/menu.c (single_menu_item): Add visual indication  of submenu
       also for menus on MSDOS frames.
       (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
       src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
       when async subprocesses aren't supported.
       src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
       src/emacs.c (close_output_streams): Zero out errno before calling
       close_stream.
       src/dired.c [MSDOS]: Include msdos.h.
       src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
       (DATA_START) [MSDOS]: Define.
       (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
       src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
       Ifdef away for MSDOS.
       (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
       (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
       for MSDOS.
       (call_process) [MSDOS]: Fix call sequence of dostounix_filename.
       Use temporary file template that is compatible with mkostemp.
       Move vfork-related portions under #ifndef MSDOS.
       (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
      
       lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
       doc strings, as required by snarf-documentation.
      
       msdos/sedlisp.inp:
       msdos/sedlibmk.inp:
       msdos/sedleim.inp:
       msdos/sed3v2.inp:
       msdos/sed2v2.inp:
       msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
       msdos/inttypes.h: Add PRIdMAX.
       msdos/INSTALL: Update for Emacs 24.4.
       msdos/sedadmin.inp: New file.
      bf6b4923
  2. 15 Apr, 2014 1 commit
    • Stefan Monnier's avatar
      * src/buffer.c (Foverlays_at): Add argument `sorted'. · 20fa59a0
      Stefan Monnier authored
      * doc/lispref/display.texi (Overlay Properties): Reword the doc of `priority'.
      (Finding Overlays): Document new arg of `overlays-at'.
      * lisp/obsolete/lucid.el (extent-at):
      * lisp/htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
      overlays-at.
      (hfy-fontify-buffer): Remove unused var `orig-ovls'.
      * lisp/ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
      arg of overlays-at.  Use `invisible-p'.
      20fa59a0
  3. 14 Apr, 2014 2 commits
  4. 13 Apr, 2014 3 commits
  5. 12 Apr, 2014 6 commits
  6. 11 Apr, 2014 3 commits
  7. 10 Apr, 2014 3 commits
  8. 09 Apr, 2014 1 commit
  9. 08 Apr, 2014 1 commit
  10. 07 Apr, 2014 4 commits
    • João Távora's avatar
      Improve on previous quote autopairing change · 190f899a
      João Távora authored
      Backported from trunk 2014-04-04T23:31:02Z!joaotavora@gmail.com
      
      * lisp/elec-pair.el:
      (electric-pair--syntax-ppss): When inside comments parse from
      comment beginning.
      (electric-pair--balance-info): Fix typo in comment.
      (electric-pair--in-unterminated-string-p): Delete.
      (electric-pair--unbalanced-strings-p): New function.
      (electric-pair-string-bound-function): New var.
      (electric-pair-inhibit-if-helps-balance): Decide quote pairing
      according to `electric-pair--in-unterminated-string-p'
      
      * test/automated/electric-tests.el (define-electric-pair-test): Don't
      overtest..
      (inhibit-in-mismatched-string-inside-ruby-comments): New test.
      (inhibit-in-mismatched-string-inside-c-comments): New test.
      190f899a
    • João Távora's avatar
      Inhibit quote autopairing more frequently · 528c33b5
      João Távora authored
      Backported from trunk 2014-04-02T09:59:06Z!joaotavora@gmail.com
      
      * lisp/elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
      quote pairing if point-max is inside an unterminated string.
      (electric-pair--looking-at-unterminated-string-p):
      Delete.
      (electric-pair--in-unterminated-string-p): New function.
      
      * test/automated/electric-tests.el (inhibit-if-strings-mismatched):
      New test, change from `inhibit-only-of-next-is-mismatched'.
      528c33b5
    • Glenn Morris's avatar
      a9c921e6
    • Glenn Morris's avatar
      ChangeLog fix · 79ebc530
      Glenn Morris authored
      79ebc530
  11. 06 Apr, 2014 5 commits
  12. 05 Apr, 2014 4 commits
    • Glenn Morris's avatar
      Minor doc updates related to dribble files · 50ea0f87
      Glenn Morris authored
      * doc/emacs/trouble.texi (Checklist):
      * doc/lispref/os.texi (Recording Input): Dribble files may contain passwords.
      
      * lisp/help.el (view-lossage): Doc tweak.
      
      * src/keyboard.c (Fopen_dribble_file): Doc tweak.
      50ea0f87
    • Matthias Dahl's avatar
      Fix bug #16434 with handling the -rv command-line option. · f5e4494c
      Matthias Dahl authored
       lisp/faces.el (make-face-x-resource-internal): Do nothing when
       inhibit-x-resources is non-nil.  Don't touch the default face if
       reversed video is given--as was done in previous versions of Emacs.
       (face-set-after-frame-default): Don't call
       make-face-x-resource-internal here.
      f5e4494c
    • Matthias Dahl's avatar
      Fix bug #16378 with mishandling of empty faces. · fdafd487
      Matthias Dahl authored
       lisp/faces.el (face-spec-choose): Accept additional optional argument,
       whose value is returned if no matching attributes are found.
       (face-spec-recalc): Use the new optional argument when calling
       face-spec-choose.
      fdafd487
    • Matthias Dahl's avatar
      Fix bug #16694 with theme face precedence. · eb7a03cc
      Matthias Dahl authored
       lisp/faces.el (face-spec-recalc): Call make-face-x-resource-internal
       only when inhibit-x-resources is nil, and do that earlier in the
       function.  Doc fix.
      eb7a03cc
  13. 04 Apr, 2014 3 commits
    • Tassilo Horn's avatar
      Fix bug#16090. · 3ccd4eaf
      Tassilo Horn authored
      * lisp/doc-view.el (doc-view-bookmark-jump): Use
      `bookmark-after-jump-hook' to jump to the right page after the
      buffer is shown in a window.
      3ccd4eaf
    • Eli Zaretskii's avatar
      A better fix for bug #17169. · b7cf27ed
      Eli Zaretskii authored
       lisp/international/characters.el (mirroring): Fix last change:
       instead of loading uni-mirrored.el explicitly, do that implicitly
       by creating the 'mirroring' uniprop table.  This avoids announcing
       the loading of uni-mirrored.el.
      b7cf27ed
    • Glenn Morris's avatar
      Doc updates for buffer-stale-function now applying to file buffers too · 8a1d24b1
      Glenn Morris authored
      * doc/emacs/arevert-xtra.texi (Supporting additional buffers):
      * doc/lispref/backups.texi (Reverting):
      Update for buffer-stale-function also applying to file-buffers.
      
      * lisp/autorevert.el (auto-revert-buffers):
      * lisp/files.el (buffer-stale--default-function)
      (buffer-stale-function, revert-buffer--default): Doc tweaks.
      
      * etc/NEWS: Related edits.
      8a1d24b1
  14. 03 Apr, 2014 3 commits