1. 03 Feb, 2015 6 commits
  2. 02 Feb, 2015 7 commits
  3. 01 Feb, 2015 7 commits
  4. 31 Jan, 2015 1 commit
    • Stefan Monnier's avatar
      EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc · e0be229d
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
      
      * lisp/emacs-lisp/eieio-core.el (eieio--check-type): Remove.
      Use cl-check-type everywhere instead.
      (eieio-class-object): Remove, use find-class instead when needed.
      (class-p): Don't inline.
      (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
      such as eieio classes, as objects.  Don't inline.
      (object-p): Mark as obsolete.
      (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
      (eieio--generic-tagcode): Avoid `class-p'.
      (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
      (eieio-defclass-internal): Use current-load-list rather than
      `class-location'.
      
      * lisp/emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
      Use find-lisp-object-file-name, help-fns-short-filename and new calling
      convention for eieio-class-def.
      (eieio-build-class-list): Remove function, unused.
      (eieio-method-def): Remove button type, unused.
      (eieio-class-def): Inherit from help-function-def.
      (eieio--defclass-regexp): New constant.
      (find-function-regexp-alist): Use it.
      (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
      (eieio-help-find-method-definition, eieio-help-find-class-definition):
      Remove functions.
      
      * lisp/emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
      and eieio-make-child-predicate.
      (eieio-class-parents): Use eieio--class-object.
      (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
      (slot-exists-p): Use find-class.
      
      * test/automated/eieio-tests.el (eieio-test-23-inheritance-check): Simplify.
      e0be229d
  5. 30 Jan, 2015 9 commits
  6. 29 Jan, 2015 2 commits
  7. 28 Jan, 2015 5 commits
    • Stefan Monnier's avatar
    • Tassilo Horn's avatar
      Fix issues with BibTeX entries containing ")". · ba10f4b5
      Tassilo Horn authored
      * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
      punctuation syntax since to allow bibtex fields with values such
      as {Test 1) and 2)} (bug#19205, bug#19707).
      (reftex--prepare-syntax-tables): New function.
      (reftex-mode): Use it.
      
      [backport from trunk]
      ba10f4b5
    • Tassilo Horn's avatar
      Fix issues with BibTeX entries containing ")". · 8a8bd38f
      Tassilo Horn authored
      * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
      punctuation syntax since to allow bibtex fields with values such
      as {Test 1) and 2)} (bug#19205, bug#19707).
      (reftex--prepare-syntax-tables): New function.
      (reftex-mode): Use it.
      8a8bd38f
    • Fabián Ezequiel Gallina's avatar
      Cleanup lisp/ChangeLog · 028ddef7
      Fabián Ezequiel Gallina authored
      028ddef7
    • Stefan Monnier's avatar
      Tighten up the tagcode used for eieio and cl-struct objects · 2668ac1a
      Stefan Monnier authored
      * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
      slot of the tag symbol to :quick-object-witness-check.
      (eieio-object-p): Use :quick-object-witness-check.
      (eieio--generic-tagcode): Use cl--generic-struct-tag.
      * lisp/emacs-lisp/cl-preloaded.el: New file.
      * lisp/emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
      (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
      (cl--make-usage-args): Strip away &aux args.
      (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
      (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
      (cl-defstruct): Use `declare' and cl-struct-define.
      * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
      (cl--generic-struct-tagcode): Use it to tighten the tagcode.
      * lisp/loadup.el: Load cl-preloaded.
      * src/lisp.mk (lisp): Add cl-preloaded.
      2668ac1a
  8. 27 Jan, 2015 3 commits