1. 15 May, 2012 1 commit
    • Chong Yidong's avatar
      Misc docfixes. · 27d1f87a
      Chong Yidong authored
      Suggested by Martin Rudalics.
      
      * doc/lispref/display.texi (Face Functions): Fix define-obsolete-face-alias.
      
      * doc/lispref/functions.texi (Obsolete Functions): Fix doc for
      set-advertised-calling-convention.
      
      * doc/lispref/modes.texi (Mode Help): Fix describe-mode.
      
      * doc/lispref/variables.texi (Variable Aliases): Fix make-obsolete-variable.
      
      * lisp/help.el (describe-mode): Doc fix.
      27d1f87a
  2. 05 May, 2012 1 commit
    • Glenn Morris's avatar
      More small edits for doc/lispref · ddff3351
      Glenn Morris authored
      * control.texi: Where possible, use example rather than smallexample.
      (Sequencing, Conditionals, Signaling Errors, Handling Errors):
      Tweak page breaks.
      
      * customize.texi: Where possible, use example rather than smallexample.
      (Common Keywords, Variable Definitions, Applying Customizations)
      (Custom Themes): Tweak page breaks.
      
      * eval.texi, functions.texi, loading.texi, macros.texi:
      Where possible, use example rather than smallexample.
      
      * sequences.texi (Arrays): Tweak page breaks.
      
      * symbols.texi: Where possible, use example rather than smallexample.
      (Symbol Components): Fix typo.
      (Other Plists): Tweak page break.
      ddff3351
  3. 26 Apr, 2012 1 commit
  4. 14 Apr, 2012 1 commit
  5. 04 Feb, 2012 1 commit
    • Chong Yidong's avatar
      Update Functions chapter of Lisp manual; document closures. · 735cc5ca
      Chong Yidong authored
      * doc/emacs/functions.texi (What Is a Function): Add closures.  Mention
      "return value" terminology.  Add xref for command-execute.  Remove
      unused "keystroke command" terminology.
      (Lambda Expressions): Give a different example than in the
      following subsection.  Add xref to Anonymous Functions.
      (Function Documentation): Remove gratuitous markup.
      (Function Names): Move introductory text to `What Is a Function'.
      (Defining Functions): Fix defun argument spec.
      (Anonymous Functions): Document lambda macro explicitly.  Mention
      effects on lexical binding.
      (Function Cells): Downplay direct usage of fset.
      (Closures): New node.
      (Inline Functions): Remove "open-code" terminology.
      (Declaring Functions): Minor tweak; .m is not C code.
      
      * doc/emacs/variables.texi (Variables): Don't refer to "global value".
      (Local Variables, Void Variables): Copyedits.
      (Lexical Binding): Minor clarification of example.
      (File Local Variables): Mention :safe and :risky defcustom args.
      (Lexical Binding): Add xref to Closures node.
      735cc5ca
  6. 11 Jan, 2012 1 commit
  7. 05 Jan, 2012 1 commit
  8. 06 Jul, 2011 1 commit
  9. 03 Jul, 2011 1 commit
  10. 25 Feb, 2011 1 commit
    • Stefan Monnier's avatar
      Get rid of funvec. · 876c194c
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode): Handle new form of
      `byte-constant'.
      (byte-compile-close-variables, displaying-byte-compile-warnings):
      Add edebug spec.
      (byte-compile-toplevel-file-form): New fun, split out of
      byte-compile-file-form.
      (byte-compile-from-buffer): Use it to avoid applying cconv
      multiple times.
      (byte-compile): Only strip `function' if it's present.
      (byte-compile-lambda): Add `reserved-csts' argument.
      Use new lexenv arg of byte-compile-top-level.
      (byte-compile-reserved-constants): New var.
      (byte-compile-constants-vector): Obey it.
      (byte-compile-constants-vector): Handle new `byte-constant' form.
      (byte-compile-top-level): Add args `lexenv' and `reserved-csts'.
      (byte-compile-form): Don't check callargs here.
      (byte-compile-normal-call): Do it here instead.
      (byte-compile-push-unknown-constant)
      (byte-compile-resolve-unknown-constant): Remove, unused.
      (byte-compile-make-closure): Use `make-byte-code' rather than `curry',
      putting the environment into the "constant" pool.
      (byte-compile-get-closed-var): Use special byte-constant.
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Handle new
      intermediate special form `internal-make-vector'.
      (byte-optimize-lapcode): Handle new form of `byte-constant'.
      * lisp/help-fns.el (describe-function-1): Don't handle funvecs.
      * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Only convert quote to
      function if the content is a lambda expression, not if it's a closure.
      * emacs-lisp/eieio-come.el: Remove.
      * lisp/emacs-lisp/eieio.el: Don't require eieio-comp.
      (defmethod): Do a bit more work to find the body and wrap it into
      a function before passing it to eieio-defmethod.
      (eieio-defmethod): New arg `code' for it.
      * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Don't hide things in
      debugger backtrace.
      * lisp/emacs-lisp/cl-extra.el (cl-macroexpand-all): Use backquotes, and be
      more careful when quoting a function value.
      * lisp/emacs-lisp/cconv.el (cconv-freevars): Accept defvar/defconst.
      (cconv-closure-convert-rec): Catch stray `internal-make-closure'.
      * lisp/Makefile.in (COMPILE_FIRST): Compile pcase and cconv early.
      
      * src/eval.c (Qcurry): Remove.
      (funcall_funvec): Remove.
      (funcall_lambda): Move new byte-code handling to reduce impact.
      Treat all args as lexical in the case of lexbind.
      (Fcurry): Remove.
      * src/data.c (Qfunction_vector): Remove.
      (Ffunvecp): Remove.
      * src/lread.c (read1): Revert to calling make_byte_code here.
      (read_vector): Don't call make_byte_code any more.
      * src/lisp.h (enum pvec_type): Rename back to PVEC_COMPILED.
      (XSETCOMPILED): Rename back from XSETFUNVEC.
      (FUNVEC_SIZE): Remove.
      (FUNVEC_COMPILED_TAG_P, FUNVEC_COMPILED_P): Remove.
      (COMPILEDP): Rename back from FUNVECP.
      * src/fns.c (Felt): Remove unexplained FUNVEC check.
      * src/doc.c (Fdocumentation): Don't handle funvec.
      * src/alloc.c (make_funvec, Ffunvec): Remove.
      * doc/lispref/vol2.texi (Top):
      * doc/lispref/vol1.texi (Top):
      * doc/lispref/objects.texi (Programming Types, Funvec Type, Type Predicates):
      * doc/lispref/functions.texi (Functions, What Is a Function, FunctionCurrying):
      * doc/lispref/elisp.texi (Top): Remove mentions of funvec and curry.
      876c194c
  11. 25 Jan, 2011 1 commit
  12. 15 Jan, 2011 1 commit
  13. 02 Jan, 2011 1 commit
  14. 21 Nov, 2010 1 commit
    • Chong Yidong's avatar
      Document byte-to-string in Lisp manual. · 3e99b825
      Chong Yidong authored
      * objects.texi (Symbol Type):
      * text.texi (Near Point):
      * help.texi (Help Functions):
      * functions.texi (Mapping Functions): Use string instead of
      char-to-string in examples.
      
      * nonascii.texi (Converting Representations): Document
      byte-to-string.
      
      * strings.texi (Creating Strings): Don't mention semi-obsolete
      function char-to-string.
      (String Conversion): Shorten discussion of semi-obsolete function
      string-to-char.  Link to Converting Representations.
      3e99b825
  15. 23 Jun, 2010 1 commit
    • Glenn Morris's avatar
      Untabify doc/lispref/*.texi. · d24880de
      Glenn Morris authored
      * abbrevs.texi, commands.texi, compile.texi, debugging.texi:
      * display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
      * frames.texi, functions.texi, internals.texi, keymaps.texi:
      * loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
      * searching.texi, sequences.texi, strings.texi, syntax.texi:
      * text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
      Untabify Texinfo files.
      d24880de
  16. 13 Jun, 2010 1 commit
  17. 25 Apr, 2010 1 commit
    • Chong Yidong's avatar
      Document Emacs 23.2 changes. · eb5ed549
      Chong Yidong authored
      * functions.texi (Obsolete Functions): Document
      set-advertised-calling-convention.
      
      * minibuf.texi (Basic Completion): Document completion-in-region.
      (Programmed Completion): Document completion-annotate-function.
      
      * commands.texi (Reading One Event): Document read-key.
      (Distinguish Interactive): Document KIND arg to
      called-interactively-p.  Delete obsolete interactive-p.
      
      * elisp.texi (Top): Update node description.
      
      * misc.texi (Printing): Document htmlfontify-buffer.
      eb5ed549
  18. 13 Jan, 2010 1 commit
  19. 01 Oct, 2009 1 commit
  20. 13 Sep, 2009 1 commit
  21. 09 Jul, 2009 1 commit
  22. 08 Jan, 2009 1 commit
  23. 05 Jan, 2009 1 commit
  24. 25 Nov, 2008 1 commit
  25. 21 Oct, 2008 1 commit
  26. 20 Oct, 2008 1 commit
  27. 19 Oct, 2008 1 commit
  28. 13 Oct, 2008 1 commit
  29. 05 Apr, 2008 1 commit
  30. 01 Dec, 2007 1 commit
  31. 30 Nov, 2007 1 commit
  32. 29 Nov, 2007 1 commit
  33. 26 Nov, 2007 1 commit
  34. 24 Nov, 2007 2 commits
  35. 06 Sep, 2007 2 commits