1. 13 Nov, 2012 1 commit
  2. 12 Nov, 2012 4 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/nadvice.el: New package. · 231d8498
      Stefan Monnier authored
      * lisp/subr.el (special-form-p): New function.
      * lisp/emacs-lisp/elp.el: Use lexical-binding and advice-add.
      (elp-all-instrumented-list): Remove var.
      (elp-not-profilable): Remove elp-wrapper.
      (elp-profilable-p): Use autoloadp and special-form-p.
      (elp--advice-name): New const.
      (elp-instrument-function): Use advice-add.
      (elp--instrumented-p): New predicate.
      (elp-restore-function): Use advice-remove.
      (elp-restore-all, elp-reset-all): Use mapatoms.
      (elp-set-master): Use elp--instrumented-p.
      (elp--make-wrapper): Rename from elp-wrapper, return a function
      suitable for advice-add.  Use cl-inf.
      (elp-results): Use mapatoms+elp--instrumented-p.
      * lisp/emacs-lisp/debug.el: Use lexical-binding and advice-add.
      (debug-function-list): Remove var.
      (debug): Rename arg, and then let-bind it explicitly inside.
      (debugger-setup-buffer): Rename arg.
      (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
      (debugger-frame-number): Adjust to new debug-on-entry setup.
      (debug--implement-debug-on-entry): Rename from
      implement-debug-on-entry, add argument.
      (debugger-special-form-p): Remove, use special-form-p instead.
      (debug-on-entry): Use advice-add.
      (debug--function-list): New function.
      (cancel-debug-on-entry): Use it, along with advice-remove.
      (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
      (debugger-list-functions): Use debug--function-list instead of
      * lisp/emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
      (ad-special-form-p): Remove, use special-form-p instead.
      (ad-set-advice-info): Use add-function and remove-function.
      (ad--defalias-fset): Adjust accordingly.
      * test/automated/advice-tests.el: New tests.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Document flymake fringe bitmaps · 24c38527
      Glenn Morris authored
      * doc/misc/flymake.texi (Customizable variables)
      (Highlighting erroneous lines): Mention flymake-error-bitmap,
      flymake-warning-bitmap, and flymake-fringe-indicator-position.
      * lisp/progmodes/flymake.el (flymake-error-bitmap)
      (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
      (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
      * etc/NEWS: Related markup.
    • Glenn Morris's avatar
      * doc/emacs/misc.texi (Single Shell): Mention async-shell-command-buffer. · adad6d8f
      Glenn Morris authored
      * etc/NEWS: Related markup.
  3. 11 Nov, 2012 6 commits
  4. 10 Nov, 2012 3 commits
  5. 09 Nov, 2012 8 commits
    • Stefan Monnier's avatar
      Provide new `defalias-fset-function' symbol property. · 32e5c58c
      Stefan Monnier authored
      * src/lisp.h (AUTOLOADP): New macro.
      * src/eval.c (Fautoload): Don't attach to loadhist, call Fdefalias instead.
      * src/data.c (Ffset): Remove special ad-advice-info handling.
      (Fdefalias): Handle autoload definitions and new Qdefalias_fset_function.
      (Fsubr_arity): CSE.
      (Finteractive_form): Simplify.
      (Fquo): Don't insist on having at least 2 arguments.
      (Qdefalias_fset_function): New var.
      * lisp/emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
      (ad--defalias-fset): New function.
      (ad-safe-fset): Remove.
      (ad-make-freeze-definition): Use cl-letf*.
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Small NEWS update re profiling · 028a5e50
      Glenn Morris authored
      The previously described sequence start, stop, report does nothing.
      Ref http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00010.html
    • Chong Yidong's avatar
      More updates for the URL library manual. · 5b637222
      Chong Yidong authored
      * url.texi (Introduction): Move url-configuration-directory to
      Customization node.
      (Parsed URIs): Split into its own node.
      (URI Encoding): New node.
      (Defining New URLs): Remove empty chapter.
      (Retrieving URLs): Add an introduction.  Doc fix for url-retrieve.
      Improve docs for url-queue-*.
      (Supported URL Types): Copyedits.  Delete empty subnodes.
    • Glenn Morris's avatar
      Trivial NEWS copyedits · 847a0561
      Glenn Morris authored
    • Glenn Morris's avatar
      Trivial NEWS copyedits · b4617547
      Glenn Morris authored
    • Glenn Morris's avatar
      Small NEWS edits · 9be5f667
      Glenn Morris authored
      * etc/NEWS: Mention erc-desktop-notifications.
      Remove empty section "New Modes and Packages" (all covered elsewhere).
      * etc/GNUS-NEWS: Mention gnus-notifications.
    • Stefan Monnier's avatar
      New property dynamic-docstring-function for docstrings. · 57618ecf
      Stefan Monnier authored
      * src/doc.c (Fdocumentation): Handle new property
      dynamic-docstring-function to replace the old ad-advice-info.
      * lisp/emacs-lisp/advice.el: Use new dynamic docstrings.
      (ad-make-advised-definition-docstring, ad-advised-definition-p):
      Use dynamic-docstring-function instead of ad-advice-info.
      (ad--make-advised-docstring): New function extracted from
      (ad-make-advised-docstring): Use it.
      * lisp/progmodes/sql.el (sql--make-help-docstring): New function, extracted
      from sql-help.
      (sql-help): Use it with dynamic-docstring-function.
  6. 08 Nov, 2012 4 commits
  7. 07 Nov, 2012 10 commits
  8. 06 Nov, 2012 2 commits
    • Glenn Morris's avatar
      Undocument get-setf-method, no longer exists · ab7f1c43
      Glenn Morris authored
      * doc/misc/cl.texi (Obsolete Setf Customization):
      Undocument get-setf-method, since it no longer exists.
      * etc/NEWS: Mention this.
    • Glenn Morris's avatar
      Add some documentation on defining new generalized variables · ebdbfb95
      Glenn Morris authored
      * doc/lispref/variables.texi (Setting Generalized Variables):
      Split most of previous contents into this subsection.
      (Adding Generalized Variables): New subsection.
      * doc/lispref/elisp.texi:
      Add Generalized Variables subsections to detailed menu.
      * etc/NEWS: Mention some gv.el macros by name.
  9. 03 Nov, 2012 2 commits
    • Glenn Morris's avatar
      Further small cl.texi changes · 92246540
      Glenn Morris authored
      * doc/misc/cl.texi (Creating Symbols, Random Numbers):
      De-emphasize internal variables cl--gensym-counter and cl--random-state. 
      * etc/NEWS: Related edits.
      Fixes: debbugs:12788
    • Martin Rudalics's avatar
      Doc changes related to displaying buffers and quitting windows. · 43bcfda6
      Martin Rudalics authored
      * window.el (switch-to-visible-buffer)
      (switch-to-buffer-preserve-window-point): Fix doc-strings.
      * windows.texi (Switching Buffers): Document option
      (Display Action Functions): Document window-height and
      window-width alist entries.
      (Display Action Functions): Document
      display-buffer-below-selected and
      (Quitting Windows): Document quit-restore-window.  Rewrite
      (Window Configurations): In window-state-get mention that
      argument window must be valid.
      (Window Parameters): Document quit-restore window parameter