1. 01 Mar, 2014 1 commit
  2. 27 Feb, 2014 1 commit
  3. 12 Feb, 2014 1 commit
  4. 10 Feb, 2014 2 commits
  5. 09 Feb, 2014 1 commit
  6. 08 Feb, 2014 1 commit
  7. 01 Feb, 2014 1 commit
  8. 24 Jan, 2014 1 commit
    • Glenn Morris's avatar
      Doc updates for with-demoted-errors · 1e548e40
      Glenn Morris authored
      * doc/lispref/control.texi (Handling Errors): Update with-demoted-errors.
      
      * lisp/subr.el (with-demoted-errors): Doc fix.
      
      * etc/NEWS: Related edit.
      1e548e40
  9. 22 Jan, 2014 1 commit
    • Glenn Morris's avatar
      Fix some function declarations · cc0f2ece
      Glenn Morris authored
      * lisp/calc/calc-embed.el (thing-at-point-looking-at):
      * lisp/emacs-lisp/map-ynp.el (x-popup-dialog):
      * lisp/obsolete/lmenu.el (x-popup-dialog):
      * lisp/emacs-lisp/package.el (url-recreate-url):
      * lisp/mail/mailclient.el (clipboard-kill-ring-save):
      * lisp/subr.el (x-popup-dialog): Update declaration.
      
      * lisp/mail/rmail.el (rmail-mime-message-p):
      * lisp/window.el (tool-bar-lines-needed): Remove unnecessary declaration.
      cc0f2ece
  10. 06 Jan, 2014 2 commits
  11. 01 Jan, 2014 1 commit
  12. 31 Dec, 2013 1 commit
  13. 23 Dec, 2013 1 commit
    • Chong Yidong's avatar
      Rename set-temporary-overlay-map -> set-transient-map · 8cd22a08
      Chong Yidong authored
      * lisp/subr.el (set-transient-map): Rename from
      set-temporary-overlay-map.  Doc fix.
      
      * lisp/face-remap.el (text-scale-adjust):
      * lisp/indent.el (indent-rigidly):
      * lisp/kmacro.el (kmacro-call-macro):
      * lisp/minibuffer.el (minibuffer-force-complete):
      * lisp/repeat.el (repeat):
      * lisp/simple.el (universal-argument--mode):
      * lisp/calendar/todo-mode.el (todo-insert-item--next-param):
      * lisp/progmodes/f90.el (f90-abbrev-start): Callers changed.
      
      * lisp/org/org.el (orgstruct-make-binding): Call set-transient-map
      instead of old name set-temporary-overlay-map.
      
      * doc/lispref/keymaps.texi (Controlling Active Maps): Renamed
      set-temporary-overlay-map to set-transient map.  Doc fixes.
      (Searching Keymaps): The transient keymap takes precedence.
      8cd22a08
  14. 20 Dec, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/replace.el (read-regexp-defaults-function): New defcustom. · 24da7273
      Juri Linkov authored
      (read-regexp-suggestions): New function.
      (read-regexp): Use `read-regexp-defaults-function' to get default values.
      Use `read-regexp-suggestions'.  Add non-empty default to history
      for empty input.
      (occur-read-regexp-defaults-function): Remove function.
      (occur-read-primary-args): Use `regexp-history-last' instead of
      `occur-read-regexp-defaults-function'.
      
      * lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
      (hi-lock-line-face-buffer, hi-lock-face-buffer)
      (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
      `hi-lock-read-regexp-defaults-function'.  Doc fix.
      (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
      with `find-tag-default-as-symbol-regexp'.  Doc fix.
      (hi-lock-read-regexp-defaults): Remove function.
      (hi-lock-regexp-okay): Add check for null.
      
      * lisp/progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
      the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
      
      * lisp/subr.el (find-tag-default-as-symbol-regexp): New function.
      (find-tag-default-as-regexp): Move symbol regexp formatting to
      `find-tag-default-as-symbol-regexp'.
      
      Fixes: debbugs:14405
      24da7273
  15. 09 Dec, 2013 1 commit
  16. 02 Dec, 2013 1 commit
    • Leo Liu's avatar
      * subr.el (process-live-p): Return nil for non-process. · 0518b057
      Leo Liu authored
      * progmodes/sh-script.el (sh-shell-process):
      * progmodes/octave.el (inferior-octave-process-live-p):
      * progmodes/gdb-mi.el (gdb-delchar-or-quit)
      (gdb-inferior-io-sentinel):
      * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
      
      Fixes: debbugs:16023
      0518b057
  17. 24 Nov, 2013 1 commit
  18. 15 Nov, 2013 1 commit
  19. 14 Nov, 2013 1 commit
  20. 11 Nov, 2013 1 commit
  21. 04 Nov, 2013 1 commit
  22. 02 Nov, 2013 1 commit
  23. 30 Oct, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (custom-declare-variable-early): Remove function. · 53b39e89
      Stefan Monnier authored
      (custom-declare-variable-list): Remove var.
      (error, user-error): Remove `while' loop.
      (read-quoted-char-radix, read-quoted-char): Move to simple.el.
      (user-emacs-directory-warning, locate-user-emacs-file):
      Move to files.el.
      * lisp/simple.el (read-quoted-char-radix, read-quoted-char):
      * lisp/files.el (user-emacs-directory-warning, locate-user-emacs-file):
      Move from subr.el.
      * lisp/custom.el (custom-declare-variable-list): Don't process
      custom-declare-variable-list.
      53b39e89
  24. 29 Oct, 2013 2 commits
    • Stefan Monnier's avatar
      * src/keyboard.c (command_loop_1): If command is nil, call `undefined'. · 4c9797cb
      Stefan Monnier authored
      * lisp/subr.el (undefined): Add missing behavior from the C code for
      unbound keys.
      4c9797cb
    • Stefan Monnier's avatar
      Add pre-redisplay-function and rectangular region · 3472b6c6
      Stefan Monnier authored
      * lisp/rect.el: Use lexical-binding.  Add new rectangular region support.
      (rectangle-mark): New command.
      (rectangle--region): New var.
      (deactivate-mark-hook): Reset rectangle--region.
      (rectangle--extract-region, rectangle--insert-for-yank)
      (rectangle--highlight-for-redisplay)
      (rectangle--unhighlight-for-redisplay): New functions.
      (region-extract-function, redisplay-unhighlight-region-function)
      (redisplay-highlight-region-function): Use them to handle
      rectangular region.
      * lisp/simple.el (region-extract-function): New var.
      (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
      (kill-new, kill-append): Remove obsolete `yank-handler' argument.
      (kill-region): Replace obsolete `yank-handler' arg with `region'.
      (copy-region-as-kill, kill-ring-save): Add `region' argument.
      (redisplay-unhighlight-region-function)
      (redisplay-highlight-region-function): New vars.
      (redisplay--update-region-highlight): New function.
      (pre-redisplay-function): Use it.
      (exchange-point-and-mark): Don't deactivate the mark before
      reactivate-it anyway.
      * lisp/comint.el (comint-kill-region): Remove yank-handler argument.
      * lisp/delsel.el (delete-backward-char, backward-delete-char-untabify)
      (delete-char): Remove property, since it's now part of their
      default behavior.
      (self-insert-iso): Remove property since this command doesn't exist.
      
      * src/xdisp.c (prepare_menu_bars): Call Vpre_redisplay_function.
      (syms_of_xdisp): Declare pre-redisplay-function.
      (markpos_of_region): Remove function.
      (init_iterator, compute_stop_pos, handle_face_prop)
      (face_before_or_after_it_pos, reseat_to_string)
      (get_next_display_element, window_buffer_changed)
      (redisplay_internal, try_cursor_movement, redisplay_window)
      (try_window_reusing_current_matrix, try_window_id, display_line)
      (note_mode_line_or_margin_highlight, note_mouse_highlight)
      (display_string, mouse_face_from_buffer_pos): Remove region handling.
      * src/window.h (struct window): Remove field `region_showing'.
      * src/dispextern.h (struct it): Remove region_beg/end_charpos.
      (face_at_buffer_position, face_for_overlay_string)
      (face_at_string_position): Update prototypes.
      * src/xfaces.c (face_at_buffer_position, face_for_overlay_string)
      (face_at_string_position): Remove `region_beg' and `region_end' args.
      * src/fontset.c (Finternal_char_font):
      * src/font.c (font_at, font_range): Adjust calls accordingly.
      * src/insdel.c (Qregion_extract_function): New var.
      (syms_of_insdel): Initialize it.
      (prepare_to_modify_buffer_1): Use it.
      3472b6c6
  25. 25 Oct, 2013 1 commit
  26. 18 Oct, 2013 1 commit
    • Barry O'Reilly's avatar
      Don't run timers in input-pending-p. Its new check-timers param · ef566920
      Barry O'Reilly authored
      provides the prior behavior..
      * src/keyboard.c (Finput_pending_p): Accept optional check-timers
      param.
      * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
      as before.
      * test/automated/timer-tests.el: New file.  Tests that (sit-for 0)
      allows another timer to run.
      
      Fixes: debbugs:15045
      ef566920
  27. 04 Oct, 2013 1 commit
  28. 03 Oct, 2013 1 commit
  29. 29 Sep, 2013 1 commit
  30. 20 Sep, 2013 1 commit
    • Ryan's avatar
      * lisp/subr.el (internal--call-interactively): New const. · 31dca772
      Ryan authored
      (called-interactively-p): Use it.
      * test/automated/advice-tests.el (advice-test-called-interactively-p-around)
      (advice-test-called-interactively-p-filter-args)
      (advice-test-called-interactively-p-around): New tests.
      
      Fixes: debbugs:3984
      31dca772
  31. 18 Sep, 2013 2 commits
  32. 16 Sep, 2013 1 commit
  33. 12 Sep, 2013 1 commit
  34. 10 Sep, 2013 1 commit
  35. 05 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (pop): Use `car-safe'. · c0458e0b
      Stefan Monnier authored
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
      to detect unused `pop' return value.
      
      * lisp/emacs-lisp/advice.el (defadvice): Add indent rule.
      
      * lisp/international/mule-cmds.el: Require CL.
      (find-coding-systems-for-charsets): Avoid add-to-list.
      (sanitize-coding-system-list): New function, extracted from
      select-safe-coding-system-interactively.
      (select-safe-coding-system-interactively): Use it.
      (read-input-method-name): Accept symbols for `default'.
      
      * lisp/progmodes/python.el (python-nav-beginning-of-block): Remove unused
      var `block-regexp'.
      (python-nav--forward-sexp): Remove unused var `re-search-fn'.
      (python-fill-string): Remove unused var `marker'.
      (python-skeleton-add-menu-items): Remove unused var `items'.
      c0458e0b
  36. 09 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (define-error): New function. · 54bd972f
      Stefan Monnier authored
      * doc/lispref/control.texi (Signaling Errors): Refer to define-error.
      (Error Symbols): Add `define-error'.
      * doc/lispref/errors.texi (Standard Errors): Don't refer to `error-conditions'.
      * lisp/progmodes/ada-xref.el (ada-error-file-not-found): Rename from
      error-file-not-found and define with define-error.
      * lisp/emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
      and define with define-error.
      * lisp/userlock.el (file-locked, file-supersession):
      * lisp/simple.el (mark-inactive):
      * lisp/progmodes/js.el (js-moz-bad-rpc, js-js-error):
      * lisp/progmodes/ada-mode.el (ada-mode-errors):
      * lisp/play/life.el (life-extinct):
      * lisp/nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
      * lisp/nxml/xmltok.el (xmltok-markup-declaration-parse-error):
      * lisp/nxml/rng-util.el (rng-error):
      * lisp/nxml/rng-uri.el (rng-uri-error):
      * lisp/nxml/rng-match.el (rng-compile-error):
      * lisp/nxml/rng-cmpct.el (rng-c-incorrect-schema):
      * lisp/nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
      * lisp/nxml/nxml-rap.el (nxml-scan-error):
      * lisp/nxml/nxml-outln.el (nxml-outline-error):
      * lisp/net/soap-client.el (soap-error):
      * lisp/net/gnutls.el (gnutls-error):
      * lisp/net/ange-ftp.el (ftp-error):
      * lisp/mpc.el (mpc-proc-error):
      * lisp/json.el (json-error, json-readtable-error, json-unknown-keyword)
      (json-number-format, json-string-escape, json-string-format)
      (json-key-format, json-object-format):
      * lisp/jka-compr.el (compression-error):
      * lisp/international/quail.el (quail-error):
      * lisp/international/kkc.el (kkc-error):
      * lisp/emacs-lisp/ert.el (ert-test-failed):
      * lisp/calc/calc.el (calc-error, inexact-result, math-overflow)
      (math-underflow):
      * lisp/bookmark.el (bookmark-error-no-filename):
      * lisp/epg.el (epg-error): Define with define-error.
      54bd972f