1. 04 Feb, 2012 2 commits
    • 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
    • Glenn Morris's avatar
      * doc/lispref/minibuf.texi (High-Level Completion): Updates for read-color. · 94bc7984
      Glenn Morris authored
      * etc/NEWS: Likewise.
      94bc7984
  2. 03 Feb, 2012 3 commits
    • Glenn Morris's avatar
      Document animated image API · eea14f31
      Glenn Morris authored
      * doc/lispref/display.texi (GIF Images): Mention animation.
      Remove commented-out old example of animation.
      (Animated Images): New subsection.
      * doc/lispref/elisp.texi (Top):
      * doc/lispref/vol1.texi (Top):
      * doc/lispref/vol2.texi (Top): Add Animated Images menu entry.
      
      * lisp/image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
      
      * lisp/image.el (image-animated-p): Doc fix.  Use image-animated-types.
      (image-animate-timeout): Doc fix.
      
      * etc/NEWS: Markup.
      eea14f31
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Small display.texi fix · 4f5a10ef
      Glenn Morris authored
      * doc/lispref/display.texi (Image Formats):
      Remove oddly specific information on versions of image libraries.
      4f5a10ef
  3. 02 Feb, 2012 5 commits
  4. 01 Feb, 2012 1 commit
  5. 31 Jan, 2012 2 commits
  6. 29 Jan, 2012 4 commits
  7. 28 Jan, 2012 4 commits
  8. 27 Jan, 2012 2 commits
  9. 26 Jan, 2012 3 commits
  10. 25 Jan, 2012 3 commits
  11. 24 Jan, 2012 1 commit
    • Chong Yidong's avatar
      Update Variables chapter of Lisp manual to handle lexical binding. · 1021c761
      Chong Yidong authored
      * doc/lispref/variables.texi (Variables, Local Variables, Void Variables):
      Edit to make the descriptions less specific to dynamic binding.
      (Local Variables): Default max-specpdl-size is now 1300.
      (Defining Variables): Edits for lexical scoping.  Delete
      information about starting docstrings with *.  De-document
      user-variable-p.
      (Tips for Defining): Remove an unimportant discussion of quitting
      in the middle of a load.
      (Accessing Variables, Setting Variables): Discuss lexical binding.
      (Variable Scoping): Rewrite.
      (Scope, Extent, Impl of Scope): Nodes deleted.
      (Dynamic Binding): New node, with material from Scope, Extent, and
      Impl of Scope nodes.
      (Dynamic Binding Tips): Rename from Using Scoping.
      (Lexical Binding): Rewrite.
      (Using Lexical Binding): Rename from Converting to Lexical
      Binding.  Convert to subsection.
      
      * doc/lispref/customize.texi (Variable Definitions): Add custom-variable-p.
      Move user-variable-p documentation here.
      1021c761
  12. 23 Jan, 2012 1 commit
    • Chong Yidong's avatar
      Update several Lisp manual chapters. · 31cbea1d
      Chong Yidong authored
      * doc/lispref/eval.texi (Intro Eval, Symbol Forms): Minor tweaks for
      correctness with lexical scoping.
      (Eval): Copyedits.
      
      * doc/lispref/sequences.texi (Sequence Functions): Don't repeat the
      introduction already given in the parent.
      (Vectors): Copyedits.
      (Rings): Move from lists.texi.  Note that this is specific to the
      ring package.
      
      * doc/lispref/lists.texi (Cons Cells): Copyedits.
      (List Elements): Mention push.
      (List Variables): Mention pop.
      (Rings): Move to sequences.texi.
      
      * doc/lispref/strings.texi (Text Comparison): Minor qualification.
      
      * doc/lispref/symbols.texi (Definitions, Symbol Components): Mention variable
      scoping issues.
      (Plists and Alists): Copyedits.
      31cbea1d
  13. 21 Jan, 2012 2 commits
    • Chong Yidong's avatar
      Emacs Lisp manual updates. · fead402d
      Chong Yidong authored
      * doc/lispref/intro.texi (A Sample Function Description): Special notation
      used for macros too.
      
      * doc/lispref/objects.texi (Ctl-Char Syntax, Other Char Bits): Copyedits.
      (Symbol Type): Add xref for keyword symbols.
      (Sequence Type): Clarify differences between sequence types.
      (Cons Cell Type): Add "linked list" index entry.
      (Non-ASCII in Strings): Copyedits.
      (Equality Predicates): Symbols with same name need not be eq.
      
      * doc/lispref/numbers.texi (Float Basics): Document isnan, copysign, frexp and
      ldexp.  Move float-e and float-pi to Math Functions node.
      fead402d
    • Glenn Morris's avatar
      Document inhibit-local-variables-regexps in the lispref. · 61086eb6
      Glenn Morris authored
      * doc/lispref/modes.texi (Auto Major Mode):
      * doc/lispref/variables.texi (File Local Variables):
      Mention inhibit-local-variables-regexps.
      
      * etc/NEWS: Markup.
      61086eb6
  14. 19 Jan, 2012 1 commit
    • Martin Rudalics's avatar
      Fix handling of persistent window parameters. · 34a02f46
      Martin Rudalics authored
      * window.c (save_window_save, Fcurrent_window_configuration)
      (Vwindow_persistent_parameters): Do not use Qstate.  Rewrite
      doc-strings.
      * window.el (window--state-get-1, window-state-get): Do not use
      special state value for window-persistent-parameters.  Rename
      argument IGNORE to WRITABLE.  Rewrite doc-string.
      (window--state-put-2): Reset all window parameters to nil before
      assigning values of persistent parameters.
      * windows.texi (Window Configurations): Rewrite references to
      persistent window parameters.
      (Window Parameters): Fix description of persistent window
      parameters.
      34a02f46
  15. 16 Jan, 2012 2 commits
    • Juanma Barranquero's avatar
    • Martin Rudalics's avatar
      Provide persistent window parameters. · 6a6ee00d
      Martin Rudalics authored
      * window.c (Vwindow_persistent_parameters): New variable.
      (Fset_window_configuration, save_window_save): Handle persistent
      window parameters.
      
      * window.el (window-state-ignored-parameters): Remove variable.
      (window--state-get-1): Rename argument MARKERS to IGNORE.
      Handle persistent window parameters.  Make copy of clone-of
      parameter only if requested.  (Bug#10348)
      (window--state-put-2): Install a window parameter only if it has
      a non-nil value or an existing parameter shall be overwritten.
      
      * windows.texi (Window Configurations, Window Parameters):
      Describe persistent window parameters.
      6a6ee00d
  16. 11 Jan, 2012 1 commit
  17. 07 Jan, 2012 1 commit
  18. 06 Jan, 2012 2 commits
    • Chong Yidong's avatar
      More customization-related documentation updates. · 89bd9ccd
      Chong Yidong authored
      * doc/emacs/custom.texi (Specifying File Variables): The mode: keyword
      doesn't have to be first anymore.  Add example of specifying minor
      modes.
      (Directory Variables): Simplify example.  Mention application to
      non-file buffers.
      (Disabling): Use "initialization file" terminology.
      (Init Examples): Fix hook example.
      
      * doc/lispref/variables.texi (Directory Local Variables): Document
      hack-dir-local-variables-non-file-buffer.
      
      * lisp/files.el (hack-dir-local-variables-non-file-buffer): Add doc.
      (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
      functions, along with 1 and -1.
      89bd9ccd
    • Glenn Morris's avatar
      Change the binding of "e" in info-mode. · c869783d
      Glenn Morris authored
      * doc/lispref/maps.texi (Standard Keymaps): Refer to Info-edit by name
      rather than by keybinding.
      
      * lisp/info.el (Info-mode-map): Bind e to end-of-buffer, rather
      than Info-edit.
      
      Fixes: debbugs:10385
      c869783d