summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-26 01:31:39 +0100
committerGravatar Tom Willemse2014-01-26 01:31:39 +0100
commite9474bab448771c360d70746b2f0c71a3d73644d (patch)
tree7e80dc4265efe37fad8434e21a5c5efabcfdf1e0
parent3312852701fbf07bdc5cdb7a2401847f80f1c4c6 (diff)
downloadedocs-e9474bab448771c360d70746b2f0c71a3d73644d.tar.gz
edocs-e9474bab448771c360d70746b2f0c71a3d73644d.zip
Remove obsolete function
-rw-r--r--edocs.el24
1 files changed, 0 insertions, 24 deletions
diff --git a/edocs.el b/edocs.el
index 2df2807..9db7800 100644
--- a/edocs.el
+++ b/edocs.el
@@ -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))