diff options
author | Tom Willemse | 2014-01-26 01:31:39 +0100 |
---|---|---|
committer | Tom Willemse | 2014-01-26 01:31:39 +0100 |
commit | e9474bab448771c360d70746b2f0c71a3d73644d (patch) | |
tree | 7e80dc4265efe37fad8434e21a5c5efabcfdf1e0 | |
parent | 3312852701fbf07bdc5cdb7a2401847f80f1c4c6 (diff) | |
download | edocs-e9474bab448771c360d70746b2f0c71a3d73644d.tar.gz edocs-e9474bab448771c360d70746b2f0c71a3d73644d.zip |
Remove obsolete function
-rw-r--r-- | edocs.el | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -141,30 +141,6 @@ etc." (end-of-file nil)) (reverse ls)))) -(defun edocs--get-docs (type name) - "Get docs of TYPE for symbol NAME." - (let ((type (intern type)) - (obj (intern name))) - (cond - ((memq type '(defun define-minor-mode)) - (cons (format "%s" (or (help-function-arglist obj :preserve-names) - "()")) - (documentation obj))) - ((memq type '(defcustom defvar defconst defclass)) - (documentation-property obj 'variable-documentation)) - ((eql type 'defgroup) - (documentation-property obj 'group-documentation)) - ((eql type 'defface) - (documentation-property obj 'face-documentation)) - ((eql type 'defgeneric) - (mapcar (lambda (itm) - (cons (format "%s" (cons (list (car (nth 2 itm)) - (car itm)) - (cdr (nth 2 itm)))) - (nth 3 itm))) - (aref (plist-get (symbol-plist obj) - 'eieio-method-tree) 2)))))) - (defun edocs--get-type-display (type-name) "Get the display text for TYPE-NAME." (gethash type-name edocs--symbol-type-map type-name)) |