1. 29 Jul, 2012 2 commits
  2. 28 Jul, 2012 1 commit
  3. 18 Jul, 2012 1 commit
  4. 17 Jul, 2012 1 commit
    • Juri Linkov's avatar
      * lisp/dired-aux.el (dired-do-async-shell-command): Doc fix. · 6dafa0d5
      Juri Linkov authored
      (dired-do-async-shell-command): Don't add `*' at the end of the
      command (Bug#11815).
      (dired-do-shell-command): Doc fix.
      (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
      Join the individual commands using either "&" or ";" as the
      separator depending on the values of these trailing characters.
      At the end re-add the trailing "&".  (Bug#10598)
      
      * lisp/simple.el (async-shell-command): Sync the interactive spec with
      `shell-command'.  Doc fix.
      (shell-command): Doc fix.
      6dafa0d5
  5. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5
  6. 08 Jul, 2012 1 commit
  7. 07 Jul, 2012 1 commit
  8. 02 Jul, 2012 1 commit
  9. 28 Jun, 2012 1 commit
  10. 22 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      Provide generalized variables in core Elisp. · 2ee3d7f0
      Stefan Monnier authored
      * lisp/emacs-lisp/gv.el: New file.
      * lisp/subr.el (push, pop): Extend to generalized variables.
      * lisp/loadup.el (macroexp): Unload if preloaded and uncompiled.
      * lisp/emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
      * lisp/emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
      gv-define-simple-setter, and gv-define-expander.
      Remove setf-methods defined in gv.  Rename cl-setf -> setf.
      (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
      (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
      (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
      (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
      gv-letplace.
      (cl-defstruct): Don't define setf-method any more.
      * lisp/emacs-lisp/cl.el (flet): Don't autoload.
      (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
      (define-setf-expander, defsetf, define-modify-macro)
      (cl-struct-setf-expander): Move from cl-lib.el.
      * lisp/emacs-lisp/syntax.el:
      * lisp/emacs-lisp/ewoc.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/emacs-lisp/cconv.el:
      * lisp/emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
      (timer--time): Use gv-define-simple-setter.
      * lisp/emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
      to avoid coding-system problems in subr.el.  Adjust all users.
      (macroexp--maxsize, macroexp-small-p): New functions.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
      * lisp/scroll-bar.el (scroll-bar-mode):
      * lisp/simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
      (normal-erase-is-backspace-mode): Don't use the `eq' place.
      * lisp/winner.el (winner-configuration, winner-make-point-alist)
      (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
      * lisp/files.el (locate-file-completion-table): Avoid list*.
      
      Fixes: debbugs:11657
      2ee3d7f0
  11. 02 Jun, 2012 1 commit
  12. 01 Jun, 2012 1 commit
  13. 29 May, 2012 2 commits
    • Martin Rudalics's avatar
      * lisp/simple.el (choose-completion): Use quit-window. · 69d565e2
      Martin Rudalics authored
      Fixes: debbugs:11567
      69d565e2
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-search-fun-default): New function. · 8cbd80f7
      Juri Linkov authored
      (isearch-search-fun): Move default part to the new function
      `isearch-search-fun-default'.
      (isearch-search-fun-function): Set the default value to
      `isearch-search-fun-default'. 
      
      * lisp/comint.el (comint-history-isearch-end):
      Use `isearch-search-fun-default'.
      (comint-history-isearch-search): Use `isearch-search-fun-default'
      and remove spacial case for `isearch-word'.
      (comint-history-isearch-wrap): Remove spacial case for
      `isearch-word'.
      
      * lisp/hexl.el (hexl-isearch-search-function):
      Use `isearch-search-fun-default'.
      
      * lisp/info.el (Info-isearch-search): Use `isearch-search-fun-default'.
      Use `word-search-regexp' for `isearch-word'.
      
      * lisp/misearch.el (multi-isearch-search-fun):
      Use `isearch-search-fun-default'.
      
      * lisp/simple.el (minibuffer-history-isearch-search):
      Use `isearch-search-fun-default' and remove spacial case for
      `isearch-word'.
      (minibuffer-history-isearch-wrap): Remove spacial case for
      `isearch-word'.
      
      * lisp/textmodes/reftex-global.el (reftex-isearch-wrap-function):
      Remove spacial case for `isearch-word'.
      (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
      
      Fixes: debbugs:11381
      8cbd80f7
  14. 04 May, 2012 1 commit
    • Stefan Monnier's avatar
      Add new error and function `user-error'. · 71873e2b
      Stefan Monnier authored
      * lisp/subr.el (user-error): New function.
      * lisp/window.el (switch-to-buffer):
      * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
      (smerge-match-conflict):
      * lisp/simple.el (previous-matching-history-element)
      (next-matching-history-element, goto-history-element, undo-more)
      (undo-start):
      * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
      (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
      (next-file, tags-loop-scan, list-tags, complete-tag):
      * lisp/progmodes/compile.el (compilation-loop):
      * lisp/mouse.el (mouse-minibuffer-check):
      * lisp/man.el (Man-bgproc-sentinel, Man-goto-page):
      * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
      (Info-history-forward, Info-follow-reference, Info-menu)
      (Info-extract-menu-item, Info-extract-menu-counting)
      (Info-forward-node, Info-backward-node, Info-next-menu-item)
      (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
      (Info-next-reference, Info-prev-reference, Info-index)
      (Info-index-next, Info-follow-nearest-node)
      (Info-copy-current-node-name):
      * lisp/imenu.el (imenu--make-index-alist)
      (imenu-default-create-index-function, imenu-add-to-menubar):
      * lisp/files.el (basic-save-buffer, recover-file):
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
      (checkdoc-message-text, checkdoc-defun):
      * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
      * lisp/cus-edit.el (customize-changed-options, customize-rogue)
      (customize-saved, custom-variable-set, custom-variable-mark-to-save)
      (custom-variable-mark-to-reset-standard)
      (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
      (custom-file):
      * lisp/completion.el (check-completion-length):
      * lisp/comint.el (comint-search-arg)
      (comint-previous-matching-input-string-position)
      (comint-previous-matching-input)
      (comint-replace-by-expanded-history-before-point, comint-send-input)
      (comint-copy-old-input, comint-backward-matching-input)
      (comint-goto-process-mark, comint-set-process-mark):
      * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it.
      * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
      * src/data.c (PUT_ERROR): New macro.
      (syms_of_data): Use it.  Add new error type `user-error'.
      * src/undo.c (user_error): New function.
      (Fprimitive_undo): Use it.
      * src/print.c (print_error_message): Adjust print style for `user-error'.
      * src/keyboard.c (user_error): New function.
      (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
      71873e2b
  15. 01 May, 2012 1 commit
  16. 22 Apr, 2012 1 commit
  17. 18 Apr, 2012 1 commit
  18. 15 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Doc and manual fixes related to processes · e153c136
      Glenn Morris authored
      * doc/lispref/processes.texi (Processes, Subprocess Creation, Shell Arguments):
      (Synchronous Processes): Copyedits.
      (Subprocess Creation): Discourage modifying exec-path directly.
      (Synchronous Processes): Update some example output.
      (Process Information): Fix typo.
      (Bindat Spec): Use Texinfo-recommended form of quote+punctuation.
      
      * lisp/simple.el (process-file-side-effects): Doc fix.
      e153c136
  19. 10 Apr, 2012 1 commit
  20. 09 Apr, 2012 3 commits
    • Eli Zaretskii's avatar
      Fix bug #11208 with inaccurate doc string of shell-command-on-region. · 9f847f41
      Eli Zaretskii authored
       lisp/simple.el (shell-command-on-region): Doc fix.
      9f847f41
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Remove defining user variables via * in docstring. · b4d3bc10
      Chong Yidong authored
      * lisp/apropos.el (apropos-variable):
      * lisp/files-x.el (read-file-local-variable):
      * lisp/simple.el (set-variable):
      * lisp/woman.el (woman-mini-help):
      * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
      
      * lisp/custom.el (custom-variable-p): Return nil for non-symbol
      arguments instead of signaling an error.
      (user-variable-p): Obsolete alias for custom-variable-p.
      
      * lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of
      user-variable-p.
      
      * src/callint.c (Finteractive, Fcall_interactively):
      * src/minibuf.c (Fread_variable): Callers changed.
      
      * src/eval.c (Fuser_variable_p, user_variable_p_eh)
      (lisp_indirect_variable): Functions deleted.
      (Fdefvar): Caller changed.
      
      * doc/lispref/commands.texi (Interactive Codes):
      * doc/lispref/help.texi (Accessing Documentation):
      * doc/lispref/minibuf.texi (High-Level Completion): Callers changed.
      
      * doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.
      b4d3bc10
  21. 22 Mar, 2012 1 commit
  22. 12 Mar, 2012 1 commit
  23. 11 Mar, 2012 1 commit
  24. 05 Mar, 2012 2 commits
  25. 13 Feb, 2012 1 commit
  26. 08 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Minor-mode doc fixes for ARG behavior · e1ac4066
      Glenn Morris authored
      * lisp/completion.el (dynamic-completion-mode):
      * lisp/dirtrack.el (dirtrack-debug-mode):
      * lisp/electric.el (electric-layout-mode):
      * lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
      * lisp/face-remap.el (text-scale-mode, buffer-face-mode):
      * lisp/iimage.el (iimage-mode):
      * lisp/image-mode.el (image-transform-mode):
      * lisp/minibuffer.el (completion-in-region-mode):
      * lisp/scroll-lock.el (scroll-lock-mode):
      * lisp/simple.el (next-error-follow-minor-mode):
      * lisp/tar-mode.el (tar-subfile-mode):
      * lisp/tooltip.el (tooltip-mode):
      * lisp/vcursor.el (vcursor-use-vcursor-map):
      * lisp/wid-browse.el (widget-minor-mode):
      * lisp/emulation/tpu-edt.el (tpu-edt-mode):
      * lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
      * lisp/international/iso-ascii.el (iso-ascii-mode):
      * lisp/language/thai-util.el (thai-word-mode):
      * lisp/mail/supercite.el (sc-minor-mode):
      * lisp/net/goto-addr.el (goto-address-mode):
      * lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
      * lisp/progmodes/cwarn.el (cwarn-mode):
      * lisp/progmodes/flymake.el (flymake-mode):
      * lisp/progmodes/glasses.el (glasses-mode):
      * lisp/progmodes/hideshow.el (hs-minor-mode):
      * lisp/progmodes/pascal.el (pascal-outline-mode):
      * lisp/textmodes/enriched.el (enriched-mode):
      * lisp/vc/smerge-mode.el (smerge-mode):
      Doc fixes (minor mode argument).
      
      * etc/NEWS: Related markup.
      e1ac4066
  27. 06 Feb, 2012 1 commit
  28. 04 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Try to document filter-buffer-substring changes · 34c99998
      Glenn Morris authored
      * doc/lispref/text.texi (Buffer Contents):
      Update filter-buffer-substring description.
      
      * lisp/simple.el (filter-buffer-substring-functions)
      (buffer-substring-filters, filter-buffer-substring): Doc fixes.
      
      * etc/NEWS: Related edits.
      34c99998
  29. 28 Jan, 2012 1 commit
  30. 11 Jan, 2012 1 commit
  31. 05 Jan, 2012 1 commit
  32. 19 Dec, 2011 1 commit
  33. 09 Dec, 2011 1 commit
  34. 05 Dec, 2011 1 commit
  35. 04 Dec, 2011 1 commit