1. 08 Jun, 2013 3 commits
  2. 07 Jun, 2013 14 commits
  3. 06 Jun, 2013 8 commits
  4. 05 Jun, 2013 15 commits
    • Alan Mackenzie's avatar
      * isearch.el (isearch-allow-prefix): New user option. · 80fa505f
      Alan Mackenzie authored
              (isearch-other-meta-char): don't exit isearch when a prefix
              argument is typed whilst `isearch-allow-prefix' is non-nil.
      
              * search.texi (Isearch Scroll): Rename to "Not Exiting Isearch".
              (Net Exiting Isearch): Document new user option
              `isearch-allow-prefix'.
      
      	* etc/NEWS.  Entry for this change.
      80fa505f
    • Eli Zaretskii's avatar
      Fix bug #14558 with turning off mouse-highlight during highlight. · 817ebfcf
      Eli Zaretskii authored
       src/xdisp.c (handle_tool_bar_click): When mouse-highlight is off,
       don't insist on being invoked on a highlighted tool-bar button.
       Avoids losing tool-bar functionality when mouse-highlight is nil.
       (note_tool_bar_highlight, note_mode_line_or_margin_highlight):
       Don't highlight when mouse-highlight is nil.
       (note_mouse_highlight): When mouse-highlight is nil, don't return
       right away; instead, run tool-bar and mode-line highlight
       subroutine, clear any existing highlight, and revert the mouse
       pointer to its default shape.
      817ebfcf
    • Stefan Monnier's avatar
      * lisp/autorevert.el (auto-revert-notify-handler): Use memq. · fccdc796
      Stefan Monnier authored
      Hide assertion failure.
      * lisp/skeleton.el: Use cl-lib.
      (skeleton-further-elements): Use defvar-local.
      (skeleton-insert): Use cl-progv.
      fccdc796
    • Ted Zlatanov's avatar
      398b4366
    • Ted Zlatanov's avatar
    • Stefan Monnier's avatar
      * lisp/simple.el: Move all the prog-mode code to prog-mode.el. · 55577e7c
      Stefan Monnier authored
      * lisp/progmodes/prog-mode.el: New file.
      * lisp/loadup.el:
      * src/lisp.mk (lisp): Add prog-mode.el.
      55577e7c
    • Ted Zlatanov's avatar
      Introduce and use prog-prettify-install. · 8fc57765
      Ted Zlatanov authored
      8fc57765
    • Paul Eggert's avatar
      Chain glib's SIGCHLD handler from Emacs's (Bug#14474). · f019a684
      Paul Eggert authored
      * process.c (dummy_handler): New function.
      (lib_child_handler): New static var.
      (handle_child_signal): Invoke it.
      (catch_child_signal): If a library has set up a signal handler,
      save it into lib_child_handler.
      (init_process_emacs): If using glib and not on Windows, tickle glib's
      child-handling code so that it initializes its private SIGCHLD handler.
      * syssignal.h (SA_SIGINFO): Default to 0.
      * xterm.c (x_term_init): Remove D-bus hack that I installed on May
      31; it should no longer be needed now.
      f019a684
    • Ted Zlatanov's avatar
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/edebug.el (edebug-result): Move before first use. · 781b4af6
      Stefan Monnier authored
      * lisp/subr.el (load-history-regexp, load-history-filename-element)
      (eval-after-load, after-load-functions, do-after-load-evaluation)
      (eval-next-after-load, display-delayed-warnings)
      (collapse-delayed-warnings, delayed-warnings-hook): Move after the
      definition of save-match-data.
      (overriding-local-map): Remove accidental obsolescence declaration.
      781b4af6
    • Ted Zlatanov's avatar
    • Alan Mackenzie's avatar
      Add ChangeLog entry for version #112847. · 3caa391f
      Alan Mackenzie authored
      3caa391f
    • Michael Albinus's avatar
      * emacs.c (main) [HAVE_GFILENOTIFY]: Call globals_of_gfilenotify. · 90db8702
      Michael Albinus authored
      * gfilenotify.c (globals_of_gfilenotify): New function.
      (syms_of_gfilenotify): Move global initialization there.
      
      * lisp.h (globals_of_gfilenotify) [HAVE_GFILENOTIFY]: Add prototype.
      90db8702
    • Leo Liu's avatar
      Re-implement smie matching block highlight using show-paren-data-function. · 976cb066
      Leo Liu authored
      * emacs-lisp/smie.el (smie-matching-block-highlight)
      (smie--highlight-matching-block-overlay)
      (smie--highlight-matching-block-lastpos)
      (smie-highlight-matching-block)
      (smie-highlight-matching-block-mode): Remove.
      (smie--matching-block-data-cache): New variable.
      (smie--matching-block-data): New function.
      (smie-setup): Use smie--matching-block-data for
      show-paren-data-function.
      
      * progmodes/octave.el (octave-mode-menu): Fix.
      (octave-find-definition): Skip garbage lines.
      
      Fixes: debbugs:14395
      976cb066
    • Stefan Monnier's avatar
      Fix compilation error with simultaneous dynamic+lexical scoping. · 208d0342
      Stefan Monnier authored
      Add warning when a defvar appears after the first let-binding.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
      (byte-compile-close-variables): Initialize it.
      (byte-compile--declare-var): New function.
      (byte-compile-file-form-defvar)
      (byte-compile-file-form-define-abbrev-table)
      (byte-compile-file-form-custom-declare-variable): Use it.
      (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
      (byte-compile-lambda): Share call to byte-compile-arglist-vars.
      (byte-compile-bind): Handle dynamic bindings that shadow
      lexical bindings.
      (byte-compile-unbind): Make arg non-optional.
      (byte-compile-let): Simplify.
      * lisp/emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
      (cconv--analyse-function, cconv-analyse-form): Populate it.
      Protect byte-compile-bound-variables to limit the scope of defvars.
      (cconv-analyse-form): Add missing rule for (defvar <foo>).
      Remove unneeded rule for `declare'.
      
      * lisp/emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
      so as to avoid depending on cl-adjoin at run-time.
      * lisp/emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
      
      * lisp/emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
      (macroexp--warn-and-return): Use it.
      208d0342