1. 18 Jan, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-generic.el: Add support for cl-next-method-p. · 909126de
      Stefan Monnier authored
      (cl-defmethod): Add edebug spec.
      (cl--generic-build-combined-method): Fix call to
      (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
      (cl--generic-isnot-nnm-p): New function.
      (cl--generic-lambda): Use it to add support for cl-next-method-p.
      (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
      (cl-next-method-p): New function.
  2. 17 Jan, 2015 20 commits
    • Ulrich Müller's avatar
      Fix mistake in rebase/merge conflict resolution. · 3065125d
      Ulrich Müller authored
      Remove lines from lisp/vc/vc-bzr.el again that were accidentally
      restored in commit 2015-01-17T09:56:45!ulm@gentoo.org.
      (Previously removed in commit 2014-12-01T13:24:27Z!esr@thyrsus.com.)
    • Ulrich Müller's avatar
      Update docstring of emacs-repository-get-version. · fd5c0bcc
      Ulrich Müller authored
      * version.el (emacs-repository-get-version): Update docstring.
    • Ivan Shmakov's avatar
      Unloading support for misearch. · 0aaa5d69
      Ivan Shmakov authored
      * lisp/misearch.el (multi-isearch-unload-function): New function.
      (misearch-unload-function): New alias.
      Fixes: debbugs:19566
    • Ivan Shmakov's avatar
      Do not clear the session when trying to read a non-existent desktop file. · e391d887
      Ivan Shmakov authored
      * lisp/desktop.el (desktop-read): Do not call desktop-clear when no
      desktop file is found.
      Fixes: debbugs:18371
    • Ivan Shmakov's avatar
      Fix: inhibit point motion hooks when encoding an enriched document. · 17285446
      Ivan Shmakov authored
      * lisp/textmodes/enriched.el (enriched-encode): Use
      inhibit-point-motion-hooks in addition to inhibit-read-only.
      Fixes: debbugs:18246
    • Ivan Shmakov's avatar
      Fix dir-locals handling for non-file buffers. · e000ff30
      Ivan Shmakov authored
      * lisp/files.el (dir-locals-collect-variables): Use default-directory
      in place of the file name while working on non-file buffers, just
      like hack-dir-local-variables already does.
      Fixes: debbugs:19140
    • Ivan Shmakov's avatar
      Avoid mapcar in two cases in files.el. · 3e824b05
      Ivan Shmakov authored
      * lisp/files.el (find-file-other-window, find-file-other-frame):
      Use mapc instead of mapcar.
      Fixes: debbugs:18175
    • Ivan Shmakov's avatar
      Ignore print-length and print-level while formatting url-cookie data. · 22441b69
      Ivan Shmakov authored
      * lisp/url/url-cookie.el (url-cookie-write-file): Let-bind print-length
      and print-level to nil to avoid writing a garbled list.
      Fixes: debbugs:16805
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/eieio-core.el (eieio--class-constructor): Rename. · ca80ebc7
      Stefan Monnier authored
      Fixes: debbugs:19620
      (eieio--class-constructor): Rename from class-constructor, and make it an alias
      for `identity'.  Update all callers.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/eieio.el: Improve `constructor' compatibility. · 4610ce96
      Stefan Monnier authored
      Fixes: debbugs:19620
      (eieio-constructor): Handle obsolete object name argument here...
      (defclass): ...instead of in the constructor here.
      * test/automated/eieio-tests.el
      (eieio-test-37-obsolete-name-in-constructor): New test.
    • Jorgen Schaefer's avatar
      Type fix for defcustom. · d80fed09
      Jorgen Schaefer authored
      * emacs-lisp/package.el (package-archive-priorities): Specify
      correct type.
    • Ulrich Müller's avatar
      Discard the Bazaar case in repository version detection · 6a6bb820
      Ulrich Müller authored
      * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
      (emacs-repository-get-version): Discard the Bazaar case.
      * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
      emacs-bzr-version-dirstate and move from version.el to here.
      (vc-bzr-working-revision): Use it.
    • Stefan Monnier's avatar
      Don't enforce :protection in EIEIO objects any more · d48c98cd
      Stefan Monnier authored
      * doc/misc/eieio.texi (Slot Options): Document :protection as unsupported.
      * lisp/emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
      (eieio--scoped-class): Remove function.
      (eieio--with-scoped-class): Remove macro.  Replace uses with `progn'.
      (eieio--slot-name-index): Don't check the :protection anymore.
      (eieio-initializing-object): Remove var.
      (eieio-set-defaults): Don't let-bind eieio-initializing-object.
      * lisp/emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
      eieio--scoped-class any more.
      * test/automated/eieio-test-methodinvoke.el (eieio-test-method-store):
      Use an explicit arg instead of eieio--scoped-class.  Update all callers.
      * test/automated/eieio-tests.el (eieio-test-25-slot-tests)
      (eieio-test-26-default-inheritance, eieio-test-28-slot-protection)
      (eieio-test-31-slot-attribute-override-class-allocation): Don't check
      that we enforce :protection since we don't any more.
    • Stefan Monnier's avatar
      Improve handling of doc-strings and describe-function for cl-generic · 24b7f775
      Stefan Monnier authored
      * lisp/help-fns.el (find-lisp-object-file-name): Accept any `type' as long
      as it's a symbol.
      (help-fns-short-filename): New function.
      (describe-function-1): Use it.  Use autoload-do-load.
      * lisp/help-mode.el (help-function-def): Add optional arg `type'.
      * lisp/emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
      override an autoload.
      (cl-generic-current-method-specializers): Replace dyn-bind variable
      with a lexically-scoped macro.
      (cl--generic-lambda): Update accordingly.
      (cl-generic-define-method): Record manually in the load-history with
      type `cl-defmethod'.
      (cl--generic-get-dispatcher): Minor optimization.
      (cl--generic-search-method): New function.
      (find-function-regexp-alist): Add entry for `cl-defmethod' type.
      (cl--generic-search-method): Add hyperlinks for methods.  Merge the
      specializers and the function's arguments.
      * lisp/emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
      (eieio-defclass-autoload): Don't record the superclasses any more.
      (eieio-defclass-internal): Reuse the old class object if it was just an
      autoload stub.
      (eieio--class-precedence-list): Load the class if it's autoloaded.
      * lisp/emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
      (eieio--defgeneric-init-form): Don't throw away a previous docstring.
      (eieio--method-optimize-primary): Don't mess with the docstring.
      (defgeneric): Keep the `args' in the docstring.
      (defmethod): Don't use the method's docstring for the generic
      function's docstring.
      * lisp/emacs-lisp/find-func.el: Use lexical-binding.
      (find-function-regexp): Don't rule out `defgeneric'.
      (find-function-regexp-alist): Document new possibility of including
      a function instead of a regexp.
      (find-function-search-for-symbol): Implement that new possibility.
      (find-function-library): Don't assume that `function' is a symbol.
      (find-function-do-it): Remove unused var `orig-buf'.
      * test/automated/cl-generic-tests.el (cl-generic-test-8-after/before):
      Rename from cl-generic-test-7-after/before.
      (cl--generic-test-advice): New function.
      (cl-generic-test-9-advice): New test.
      * test/automated/eieio-test-methodinvoke.el (eieio-test-cl-generic-1): Reset
    • Artur Malabarba's avatar
    • Artur Malabarba's avatar
    • Artur Malabarba's avatar
    • Artur Malabarba's avatar
    • Artur Malabarba's avatar
      * emacs-lisp/package.el (package-dir-info): New function. · 2fe6110d
      Artur Malabarba authored
      Find package information for a directory. The return result is a
    • Artur Malabarba's avatar
      * emacs-lisp/package.el (package--read-pkg-desc): New function. · be6dbd4b
      Artur Malabarba authored
      Read a `define-package' form in current buffer. Return the pkg-desc,
      with desc-kind set to KIND.
  3. 16 Jan, 2015 15 commits
  4. 15 Jan, 2015 4 commits