1. 22 Jul, 2013 8 commits
    • Stefan Monnier's avatar
      * lisp/winner.el (winner-hook-installed-p): Remove. · 9b2607e8
      Stefan Monnier authored
      (winner-mode): Simplify accordingly.
      9b2607e8
    • Stefan Monnier's avatar
      * lisp/subr.el (add-to-list): Fix compiler-macro when `append' is · c43a8618
      Stefan Monnier authored
      not constant.  Don't use `cl-member' for the base case.
      c43a8618
    • Stefan Monnier's avatar
      * lisp/progmodes/subword.el: Fix boundary case. · 0ac26976
      Stefan Monnier authored
      (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
      own group.
      (subword-backward-regexp): Make it a constant.
      (subword-forward-internal): Don't treat a trailing capital as the
      beginning of a word.
      * test/automated/subword-tests.el: New file.
      
      Fixes: debbugs:13758
      0ac26976
    • Ari Roponen's avatar
      lisp/emacs-lisp/package.el (package-menu-mode): Fix bug#14930. · 6874724a
      Ari Roponen authored
      Don't modify the global value of tabulated-list-revert-hook.
      6874724a
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · ac2bcafc
      Glenn Morris authored
      ac2bcafc
    • Stefan Monnier's avatar
      * lisp/url/url-http.el (status): Remove, unused. · 3a3f390d
      Stefan Monnier authored
      (success): Remove var.
      (url-http-handle-authentication): Return the value that `success'
      should take instead of setting `success' directly.  Don't set `status'
      since it's not used.
      (url-http-parse-headers): Avoid unneeded setq.
      Move the `setq success'.
      (url-http): Use pcase.
      (url-http-file-exists-p): Simplify.
      3a3f390d
    • Juanma Barranquero's avatar
      lisp/desktop.el: Require 'cl-lib. · a1c80d9d
      Juanma Barranquero authored
      (desktop-before-saving-frames-functions): New hook.
      (desktop--process-minibuffer-frames): Set desktop-mini parameter only
      for frames being saved.  Rename from desktop--save-minibuffer-frames.
      (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
      Do not save frames with non-nil `desktop-dont-save' parameter.  Filter
      out deleted frames.
      (desktop--find-frame): Use cl-find-if.
      (desktop--select-frame): Use cl-(first|second|third) to access values
      of desktop-mini.
      (desktop--make-frame): Use cl-delete-if.
      (desktop--sort-states): Fix sorting of minibuffer-owning frames.
      (desktop-restore-frames): Use cl-(first|second|third) to access values
      of desktop-mini.  Look for visible frame at the end, not while
      restoring frames.
      a1c80d9d
    • Juanma Barranquero's avatar
      lisp/dired-x.el: Fix bug#14927. · 70f1b5e8
      Juanma Barranquero authored
      (dired-mark-unmarked-files, dired-virtual, dired-guess-default)
      (dired-mark-sexp, dired-filename-at-point): Use string-match-p, looking-at-p.
      70f1b5e8
  2. 21 Jul, 2013 4 commits
  3. 20 Jul, 2013 7 commits
  4. 19 Jul, 2013 8 commits
  5. 18 Jul, 2013 4 commits
  6. 17 Jul, 2013 1 commit
  7. 16 Jul, 2013 4 commits
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-block-beg-keywords): Inline. · ac72c08d
      Dmitry Gutov authored
      (ruby-font-lock-keyword-beg-re): Extract from
      `ruby-font-lock-keywords'.
      ac72c08d
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not · 77aea2fb
      Dmitry Gutov authored
      highlight question marks in the method names as strings.
      77aea2fb
    • Jan Djärv's avatar
      Stop cursor blink after blink-cursor-blinks (10), stop timers when not blinking. · 18c26d81
      Jan Djärv authored
      * etc/NEWS: Document blink-cursor-blinks and blink timers stopped.
      
      * lisp/frame.el (blink-cursor-blinks): New defcustom.
      (blink-cursor-blinks-done): New defvar.
      (blink-cursor-start): Set blink-cursor-blinks-done to 1.
      (blink-cursor-timer-function): Check if number of blinks has been
      done on X and NS.
      (blink-cursor-suspend, blink-cursor-check): New defuns.
      
      * src/frame.c (Fhandle_focus_in, Fhandle_focus_out): New functions.
      (Fhandle_switch_frame): Call Fhandle_focus_in.
      (syms_of_frame): defsubr handle-focus-in/out.
      
      * src/keyboard.c (Qfocus_in, Qfocus_out): New static objects.
      (make_lispy_focus_in, make_lispy_focus_out): Declare and define.
      (kbd_buffer_get_event): For FOCUS_IN, make a focus_in event if no
      switch frame event is made.  Check ! NILP (event->arg) if X11 (moved
      from xterm.c). Make focus_out event for FOCUS_OUT_EVENT if NS or X11
      and there is a focused frame.
      (head_table): Add focus-in and focus-out.
      (keys_of_keyboard): Add focus-in and focus-out to Vspecial_event_map,
      bind to handle-focus-in/out.
      
      * src/nsterm.m (windowDidResignKey): If this is the focused frame, generate
      FOCUS_OUT_EVENT.
      
      * src/termhooks.h (enum event_kind): Add FOCUS_OUT_EVENT.
      
      * src/xterm.c (x_focus_changed): Always generate FOCUS_IN_EVENT.
      Set event->arg to Qt if switch-event shall be generated.
      Generate FOCUS_OUT_EVENT for FocusOut if this is the focused frame.
      18c26d81
    • Paul Eggert's avatar
      Spelling fixes for "does not exists". · 8abee653
      Paul Eggert authored
      8abee653
  8. 15 Jul, 2013 4 commits
    • Glenn Morris's avatar
    • Paul Eggert's avatar
      * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x. · 0463c1ef
      Paul Eggert authored
      The hack didn't work outside English locales anyway.
      0463c1ef
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
      lisp/desktop.el (desktop-restore-frames): Change default to t. · b958c0ad
      Juanma Barranquero authored
      (desktop-restore-in-current-display): Now offer more options.
      (desktop-restoring-reuses-frames): New customization option.
      (desktop--saved-states): Doc fix.
      (desktop-filter-parameters-alist): New variable, renamed and expanded from
      desktop--excluded-frame-parameters.
      (desktop--target-display): New variable.
      (desktop-switch-to-gui-p, desktop-switch-to-tty-p, desktop--filter-tty*)
      (desktop--filter-*-color, desktop--filter-minibuffer)
      (desktop--filter-restore-desktop-parm, desktop--filter-save-desktop-parm)
      (desktop-restore-in-original-display-p): New functions.
      (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
      (desktop--save-minibuffer-frames): New function, inspired by a similar
      function from Martin Rudalics.
      (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
      (desktop--restore-in-this-display-p): Remove.
      (desktop--find-frame): Rename from desktop--find-frame-in-display and add
      predicate argument.
      (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
      (desktop--reuse-list): New variable.
      (desktop--select-frame, desktop--make-frame, desktop--sort-states):
      New functions.
      (desktop--restore-frames): Add support for "minibuffer-special" frames.
      b958c0ad