]> code.delx.au - gnu-emacs/commitdiff
Proper help support for EIEIO classes and methods.
authorDavid Engster <dengste@eml.cc>
Wed, 8 Jan 2014 21:59:19 +0000 (22:59 +0100)
committerDavid Engster <dengste@eml.cc>
Wed, 8 Jan 2014 21:59:19 +0000 (22:59 +0100)
1  2 
lisp/ChangeLog

diff --cc lisp/ChangeLog
index 8d36ae9911f6ee35773a9514fb22612492b3c219,0fe9c08374bb1bb014e20547b7efae73e7a6f2b5..b7b5c621e40a1773e4e913a9beaa1932449cb42b
@@@ -1,35 -1,33 +1,65 @@@
+ 2014-01-08  David Engster  <deng@randomsample.de>
+       * help-fns.el (help-fns-describe-function-functions): New
+       variable to call functions for augmenting help buffers.
+       (describe-function-1): Remove explicit calls to
+       `help-fns--compiler-macro', `help-fns--parent-mode' and
+       `help-fns--obsolete'.  Put them in above new variable instead, and
+       call them through `run-hook-with-args'.
+       * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
+       `eieio-describe-class'.  Not meant for interactive use anymore,
+       but to augment existing help buffers.  Remove optional second
+       argument.  Create proper button for file location.  Rewrite
+       function to use `insert' instead of `princ' and `prin1' where
+       possible.
+       (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
+       (eieio-method-def, eieio-class-def): Move further up.
+       (describe-method, describe-generic, eieio-describe-method): Remove
+       aliases.
+       (eieio-help-constructor, eieio-help-generic): Rename from
+       `eieio-describe-constructor' and `eieio-describe-generic', resp.
+       Rewrite to use `insert' in the current buffer and use proper help
+       buttons.
+       (eieio-help-find-method-definition)
+       (eieio-help-find-class-definition): Also accept symbols as
+       arguments.
+       (eieio-help-mode-augmentation-maybee): Remove.
+       (eieio-describe-class-sb): Use `describe-function'.
+       * emacs-lisp/eieio.el (help-fns-describe-function-functions): Add
+       `eieio-help-generic' and `eieio-help-constructor'.
 +2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Spelling fixes.
 +      * language/china-util.el (hz-ascii-designation):
 +      Rename from hz-ascii-designnation.
 +      (hz-ascii-designation): Rename from hz-ascii-designnation.
 +      All uses changed.
 +
 +2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
 +      package-alist.
 +
 +2014-01-08  Bastien Guerry  <bzg@gnu.org>
 +
 +      * emacs-lisp/package.el (package-delete):
 +      Correctly delete the package from package-alist.
 +
 +2014-01-08  Daiki Ueno  <ueno@gnu.org>
 +
 +      * emacs-lisp/package.el (url-recreate-url): Declare.
 +      (url-http-target-url): Declare.
 +      (package-handle-response): Include requested URL in the error message.
 +      (package--check-signature): Don't re-signal errors from
 +      package--with-work-buffer.  Suggested by Stefan Monnier.
 +
 +2014-01-07  Bastien Guerry  <bzg@gnu.org>
 +
 +      * minibuffer.el (completion--try-word-completion): When both a
 +      hyphen and a space are possible candidates for the character
 +      following a word, display both candidates.  (Bug#15980)
 +
  2014-01-07  Martin Rudalics  <rudalics@gmx.at>
  
        * window.el (balance-windows-2): While rounding don't give a