1. 06 Mar, 2011 2 commits
  2. 05 Mar, 2011 1 commit
  3. 03 Mar, 2011 1 commit
  4. 01 Mar, 2011 2 commits
    • Stefan Monnier's avatar
      * doc/lispref/variables.texi (Scope): Mention the availability of lexbind. · d032d5e7
      Stefan Monnier authored
      (Lexical Binding): New node.
      * doc/lispref/eval.texi (Eval): Add `eval's new `lexical' arg.
      * lisp/emacs-lisp/cconv.el (cconv-liftwhen): Increase threshold.
      (cconv-closure-convert-rec): Convert interactive spec in empty lexenv.
      (cconv-analyse-use): Improve unused vars warnings.
      (cconv-analyse-form): Analyze interactive spec in empty lexenv.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): Always byte-compile
      the interactive spec in lexical-binding mode.
      (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
      * lisp/custom.el (custom-initialize-default): Use defvar.
      (custom-declare-variable): Set the special-variable-p flag.
      * lisp/help-fns.el (help-make-usage): Drop leading underscores.
      * lisp/dired.el (dired-revert, dired-make-relative): Mark unused args.
      (dired-unmark-all-files): Remove unused var `query'.
      (dired-overwrite-confirmed): Declare.
      (dired-restore-desktop-buffer): Don't use dynamically scoped arg names.
      * lisp/mpc.el: Mark unused args.
      (mpc--faster-toggle): Remove unused var `songnb'.
      * lisp/server.el (server-kill-buffer-running): Move before first use.
      * lisp/minibuffer.el: Mark unused args.
      * src/callint.c (quotify_arg): Simplify the logic.
      (Fcall_interactively): Use lexical binding when evaluating the
      interactive spec of a lexically bound function.
      d032d5e7
    • Glenn Morris's avatar
      Add the ability to exclude dir-locals from subdirs. (Bug#8100) · 6640b281
      Glenn Morris authored
      * lisp/files.el (dir-locals-collect-variables):
      Add the ability to exclude subdirectories.
      
      * doc/emacs/custom.texi (Directory Variables):
      Give an example of excluding subdirectories.
      
      * doc/lispref/variables.texi (Directory Local Variables):
      Mention `(subdirs . nil)' alist element.
      
      * etc/NEWS: Mention this addition.
      
      * lisp/dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
      6640b281
  5. 27 Feb, 2011 1 commit
  6. 25 Feb, 2011 2 commits
    • Glenn Morris's avatar
      Doc fix for bug#3577. · 081f7640
      Glenn Morris authored
      * doc/lispref/variables.texi (Directory Local Variables):
      Mention the optional mtime argument of dir-locals-set-directory-class.
      081f7640
    • 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
  7. 18 Feb, 2011 4 commits
  8. 09 Feb, 2011 1 commit
  9. 05 Feb, 2011 1 commit
    • Chong Yidong's avatar
      Last remaining doc additions required by 23.3. · a41c8660
      Chong Yidong authored
      * doc/emacs/maintaining.texi (VC Change Log): Document vc-log-incoming and
      vc-log-outgoing.
      (Merging): Document vc-find-conflicted-file.
      
      * doc/emacs/rmail.texi (Rmail Display): Document Rmail MIME support more
      accurately.
      
      * doc/lispref/commands.texi (Accessing Mouse): Note that a header line is not
      included in the row of posn-col-row.
      
      * etc/NEWS: Remove +++ and --- lines.
      a41c8660
  10. 02 Feb, 2011 1 commit
  11. 01 Feb, 2011 1 commit
  12. 29 Jan, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix doc/*/makefile.w32-in according to... · bf3dae7e
      Eli Zaretskii authored
      Fix doc/*/makefile.w32-in according to 2011-01-23T10:22:21Z!wl@gnu.org-2011-01-23T10:38:14Z!wl@gnu.org.
      
       doc/lispref/makefile.w32-in (texinfodir): New variable.
       (usermanualdir): Remove as redundant with $(emacsdir).
       (MAKEINFO): Remove options, leave only program name.
       (MAKEINFO_OPTS): New variable.
       (texinputdir, $(infodir)/elisp): Use $(MAKEINFO_OPTS).
       doc/emacs/makefile.w32-in (MAKEINFO): Remove options, leave only program name.
       (MAKEINFO_OPTS): New variable.
       (ENVADD, $(infodir)/emacs): Use $(MAKEINFO_OPTS).
       (emacs.html): New target.
       (clean): Remove emacs.html.
       doc/misc/makefile.w32-in (MAKEINFO): Remove options, leave only program name.
       (MAKEINFO_OPTS): New variable.
       (ENVADD, $(infodir)/emacs): Use $(MAKEINFO_OPTS).
       ($(infodir)/info, $(infodir)/ccmode, $(infodir)/ada-mode)
       ($(infodir)/pcl-cvs, $(infodir)/eshell, $(infodir)/cl)
       ($(infodir)/dbus, $(infodir)/dired-x, $(infodir)/ediff)
       ($(infodir)/flymake, $(infodir)/forms, $(infodir)/gnus)
       ($(infodir)/message, $(infodir)/emacs-mime, $(infodir)/sieve)
       ($(infodir)/pgg, $(infodir)/mh-e, $(infodir)/reftex)
       ($(infodir)/remember, $(infodir)/sasl, $(infodir)/sc)
       ($(infodir)/vip, $(infodir)/viper, $(infodir)/widget)
       ($(infodir)/efaq, $(infodir)/autotype, $(infodir)/calc)
       ($(infodir)/idlwave, $(infodir)/eudc, $(infodir)/ebrowse)
       ($(infodir)/woman, $(infodir)/speedbar, $(infodir)/tramp)
       ($(infodir)/ses, $(infodir)/smtpmail, $(infodir)/org)
       ($(infodir)/url, $(infodir)/newsticker, $(infodir)/nxml-mode)
       ($(infodir)/rcirc, $(infodir)/erc, $(infodir)/ert)
       ($(infodir)/epa, $(infodir)/mairix-el, $(infodir)/auth)
       ($(infodir)/eieio, $(infodir)/ede, $(infodir)/semantic)
       ($(infodir)/edt): Use $(MAKEINFO_OPTS).
      bf3dae7e
  13. 28 Jan, 2011 2 commits
  14. 25 Jan, 2011 1 commit
  15. 23 Jan, 2011 3 commits
  16. 22 Jan, 2011 2 commits
  17. 11 Jan, 2011 1 commit
  18. 08 Jan, 2011 2 commits
  19. 07 Jan, 2011 1 commit
  20. 02 Jan, 2011 1 commit
  21. 25 Dec, 2010 1 commit
    • Eli Zaretskii's avatar
      More fallout from fixing bug #7587. · 2e4ab211
      Eli Zaretskii authored
       src/xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
       the basic faces are supported.
       doc/lispref/modes.texi (Emulating Mode Line): Fix last change.
       etc/NEWS: Remove the entry about format-mode-line accepting only
       basic faces.
      2e4ab211
  22. 18 Dec, 2010 2 commits
  23. 13 Dec, 2010 1 commit
  24. 11 Dec, 2010 2 commits
    • Eli Zaretskii's avatar
      Fallout from bug #7563. · 4bb49a92
      Eli Zaretskii authored
       processes.texi (Shell Arguments):
       strings.texi (Creating Strings): Don't mention "shell commands";
       make it explicit that `split-string-and-unquote' and
       `combine-and-quote-strings' are mainly for working with arguments
       to call-process and start-process.
      4bb49a92
    • Eli Zaretskii's avatar
      Fix bug #7563 with docs of split-string-and-unquote. · 3c73e30e
      Eli Zaretskii authored
       processes.texi (Shell Arguments): Fix documentation of
       `split-string-and-unquote'.  Add indexing.
      3c73e30e
  25. 08 Dec, 2010 1 commit
  26. 07 Dec, 2010 1 commit
  27. 04 Dec, 2010 1 commit