1. 24 Jul, 2013 9 commits
    • Michael Albinus's avatar
      * filenotify.el (file-notify-supported-p): · d5d3c58a
      Michael Albinus authored
      * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
      Remove functions.
      
      * autorevert.el (auto-revert-use-notify):
      (auto-revert-notify-add-watch):
      * net/tramp.el (tramp-file-name-for-operation):
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Remove `file-notify-supported-p' entry.
      d5d3c58a
    • Xue Fuqiao's avatar
      * lisp/ido.el: Doc fix. · 0e55c076
      Xue Fuqiao authored
      * lisp/ido.el (ido-fractionp):
      (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
      (ido-max-file-prompt-width, ido-unc-hosts-cache)
      (ido-max-directory-size, ido-max-dir-file-cache)
      (ido-decorations): Doc fix.
      0e55c076
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      d100084b
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be · 249eea30
      Stefan Monnier authored
      checked with memq.
      
      Fixes: debbugs:14935
      249eea30
    • Stefan Monnier's avatar
      * lisp/files.el (revert-buffer-function): Use a non-nil default. · ac93e56b
      Stefan Monnier authored
      (revert-buffer-preserve-modes): Declare var to
      provide access to the `preserve-modes' argument.
      (revert-buffer): Let-bind it.
      (revert-buffer--default): New function, extracted from revert-buffer.
      ac93e56b
    • Stefan Monnier's avatar
      * lisp/lpr.el: Signal print errors more prominently. · 2cdeb903
      Stefan Monnier authored
      (print-region-function): Don't default to nil.
      (lpr-print-region): New function, extracted from print-region-1.
      Check lpr's return value and signal an error in case of problem.
      (print-region-1): Use it.
      * lisp/ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
      versions instead.
      (ps-printer-name): Default to nil.
      (ps-printer-name-option): Default to lpr-printer-switch.
      (ps-print-region-function): Don't default to nil.
      (ps-postscript-code-directory): Simplify default.
      (ps-do-despool): Use lpr-print-region to properly check the outcome.
      (ps-string-list, ps-eval-switch, ps-flatten-list)
      (ps-flatten-list-1): Remove.
      (ps-multibyte-buffer): Avoid setq.
      * lisp/dos-w32.el (direct-print-region-helper): Use proper regexp operators.
      (print-region-function, ps-print-region-function): Don't set them here.
      2cdeb903
    • Xue Fuqiao's avatar
      * lisp/ansi-color.el: Fix old URL. · 73600831
      Xue Fuqiao authored
      73600831
    • Michael Mauger's avatar
      * progmodes/sql.el Version 3.3 · 3d012865
      Michael Mauger authored
      (sql-product-alist): Improve oracle :prompt-cont-regexp.
      (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
      (sql-interactive-remove-continuation-prompt): Rewrite, use
      functions above.  Fix continuation prompt and complete output line
      handling.
      (sql-redirect-one, sql-execute): Use `read-only-mode' on
      redirected output buffer.
      (sql-mode): Restore deleted code (Bug#13591).
      3d012865
  2. 23 Jul, 2013 4 commits
  3. 22 Jul, 2013 7 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/autoload.el (autoload--setup-output): New function, · 7d22ce18
      Stefan Monnier authored
      extracted from autoload--insert-text.
      (autoload--insert-text): Remove.
      (autoload--print-cookie-text): New function, extracted from
      autoload--insert-cookie-text.
      (autoload--insert-cookie-text): Remove.
      (autoload-generate-file-autoloads): Adjust calls accordingly.
      7d22ce18
    • 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
    • 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
  4. 21 Jul, 2013 3 commits
  5. 20 Jul, 2013 6 commits
  6. 19 Jul, 2013 6 commits
  7. 18 Jul, 2013 3 commits
    • Richard Copley's avatar
      188c1ae6
    • Juanma Barranquero's avatar
      Followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se. · 945c5bb1
      Juanma Barranquero authored
      * lisp/frame.el (blink-cursor-timer-function, blink-cursor-suspend):
        Add check for W32.
      * src/keyboard.c (kbd_buffer_get_event):
      * src/w32term.c (x_focus_changed): Port FOCUS_(IN|OUT)_EVENT changes to W32.
      945c5bb1
    • Michael Albinus's avatar
      * filenotify.el (file-notify--library): Renamed from · e06ec67f
      Michael Albinus authored
      `file-notify-support'.  Do not autoload.  Adapt all uses.
      (file-notify-supported-p): New defun.
      
      * autorevert.el (auto-revert-use-notify): Use
      `file-notify-supported-p' instead of `file-notify-support'.  Adapt
      docstring.
      (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
      
      * net/tramp.el (tramp-file-name-for-operation):
      Add `file-notify-supported-p'.
      
      * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
      New defun.
      (tramp-sh-file-name-handler-alist): Add it as handler for
      `file-notify-supported-p '.
      
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Add `ignore' as handler for `file-notify-*' functions.
      e06ec67f
  8. 17 Jul, 2013 1 commit
  9. 16 Jul, 2013 1 commit