aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2009-10-01 02:50:00 +0000
committerGlenn Morris2009-10-01 02:50:00 +0000
commit9ffe3f52feebf9098f98c028e4dfeab3e4b44f92 (patch)
tree289f1147e9dd00badca0202f741efb1071cc4b80 /lisp
parentd8edf09f3780a74f4b9b118a1bad895fc40f9674 (diff)
downloademacs-9ffe3f52feebf9098f98c028e4dfeab3e4b44f92.tar.gz
emacs-9ffe3f52feebf9098f98c028e4dfeab3e4b44f92.zip
Doc/message fixes.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/emacs-lisp/chart.el10
-rw-r--r--lisp/emacs-lisp/eieio-comp.el8
-rw-r--r--lisp/emacs-lisp/eieio-datadebug.el6
-rw-r--r--lisp/emacs-lisp/eieio-opt.el8
-rw-r--r--lisp/emacs-lisp/eieio-speedbar.el10
-rw-r--r--lisp/emacs-lisp/eieio.el18
7 files changed, 39 insertions, 30 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cf6b0d4e5d5..0eb18c02cff 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,14 @@
12009-10-01 Glenn Morris <rgm@gnu.org> 12009-10-01 Glenn Morris <rgm@gnu.org>
2 2
3 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
4 (chart-file-count):
5 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
6 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
7 * emacs-lisp/eieio-opt.el (eieio-describe-class):
8 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
9 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
10 (eieio-copy-parents-into-subclass, make-instance, class-children)
11 (eieio-generic-form):
3 * cedet/cedet-files.el (cedet-directory-name-to-file-name): 12 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
4 * cedet/cedet-idutils.el (cedet-idutils-search) 13 * cedet/cedet-idutils.el (cedet-idutils-search)
5 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory) 14 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el
index ba7982df731..b2c3989c56e 100644
--- a/lisp/emacs-lisp/chart.el
+++ b/lisp/emacs-lisp/chart.el
@@ -1,7 +1,7 @@
1;;; chart.el --- Draw charts (bar charts, etc) 1;;; chart.el --- Draw charts (bar charts, etc)
2 2
3;;; Copyright (C) 1996, 1998, 1999, 2001, 2004, 2005, 2007, 2008, 2009 3;; Copyright (C) 1996, 1998, 1999, 2001, 2004, 2005, 2007, 2008, 2009
4;;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
7;; Version: 0.2 7;; Version: 0.2
@@ -528,7 +528,7 @@ cons cells of the form (NAME . NUM). See SORT for more details."
528 (remove-text-properties p (point) '(face)))))) 528 (remove-text-properties p (point) '(face))))))
529 529
530(defun chart-zap-chars (n) 530(defun chart-zap-chars (n)
531 "Zap up to N chars without deleteting EOLs." 531 "Zap up to N chars without deleting EOLs."
532 (if (not (eobp)) 532 (if (not (eobp))
533 (if (< n (- (save-excursion (end-of-line) (point)) (point))) 533 (if (< n (- (save-excursion (end-of-line) (point)) (point)))
534 (delete-char n) 534 (delete-char n)
@@ -579,7 +579,7 @@ R1 and R2 are dotted pairs. Colorize it with FACE."
579(defun chart-bar-quickie (dir title namelst nametitle numlst numtitle 579(defun chart-bar-quickie (dir title namelst nametitle numlst numtitle
580 &optional max sort-pred) 580 &optional max sort-pred)
581 "Wash over the complex eieio stuff and create a nice bar chart. 581 "Wash over the complex eieio stuff and create a nice bar chart.
582Creat it going in direction DIR ['horizontal 'vertical] with TITLE 582Create it going in direction DIR ['horizontal 'vertical] with TITLE
583using a name sequence NAMELST labeled NAMETITLE with values NUMLST 583using a name sequence NAMELST labeled NAMETITLE with values NUMLST
584labeled NUMTITLE. 584labeled NUMTITLE.
585Optional arguments: 585Optional arguments:
@@ -619,7 +619,7 @@ SORT-PRED if desired."
619;;; Sample utility function 619;;; Sample utility function
620 620
621(defun chart-file-count (dir) 621(defun chart-file-count (dir)
622 "Draw a chart displaying the number of different file extentions in DIR." 622 "Draw a chart displaying the number of different file extensions in DIR."
623 (interactive "DDirectory: ") 623 (interactive "DDirectory: ")
624 (if (not (string-match "/$" dir)) 624 (if (not (string-match "/$" dir))
625 (setq dir (concat dir "/"))) 625 (setq dir (concat dir "/")))
diff --git a/lisp/emacs-lisp/eieio-comp.el b/lisp/emacs-lisp/eieio-comp.el
index 8b21490e5b8..1ee314acc34 100644
--- a/lisp/emacs-lisp/eieio-comp.el
+++ b/lisp/emacs-lisp/eieio-comp.el
@@ -1,9 +1,9 @@
1;;; eieio-comp.el -- eieio routines to help with byte compilation 1;;; eieio-comp.el -- eieio routines to help with byte compilation
2 2
3;;; Copyright (C) 1995,1996, 1998, 1999, 2000, 2001, 2002, 2005, 2008, 3;; Copyright (C) 1995,1996, 1998, 1999, 2000, 2001, 2002, 2005, 2008,
4;;; 2009 Free Software Foundation, Inc. 4;; 2009 Free Software Foundation, Inc.
5 5
6;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
7;; Version: 0.2 7;; Version: 0.2
8;; Keywords: oop, lisp, tools 8;; Keywords: oop, lisp, tools
9 9
@@ -126,7 +126,7 @@ that is called but rarely. Argument FORM is the body of the method."
126 126
127(defun byte-compile-defmethod-param-convert (paramlist) 127(defun byte-compile-defmethod-param-convert (paramlist)
128 "Convert method params into the params used by the defmethod thingy. 128 "Convert method params into the params used by the defmethod thingy.
129Argument PARAMLIST is the paramter list to convert." 129Argument PARAMLIST is the parameter list to convert."
130 (let ((argfix nil)) 130 (let ((argfix nil))
131 (while paramlist 131 (while paramlist
132 (setq argfix (cons (if (listp (car paramlist)) 132 (setq argfix (cons (if (listp (car paramlist))
diff --git a/lisp/emacs-lisp/eieio-datadebug.el b/lisp/emacs-lisp/eieio-datadebug.el
index 0e74d5d2e55..77bf7004ac2 100644
--- a/lisp/emacs-lisp/eieio-datadebug.el
+++ b/lisp/emacs-lisp/eieio-datadebug.el
@@ -1,8 +1,8 @@
1;;; eieio-datadebug.el --- EIEIO extensions to the data debugger. 1;;; eieio-datadebug.el --- EIEIO extensions to the data debugger.
2 2
3;; Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. 3;; Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <zappo@gnu.org> 5;; Author: Eric M. Ludlam <zappo@gnu.org>
6;; Keywords: OO, lisp 6;; Keywords: OO, lisp
7 7
8;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
@@ -51,7 +51,7 @@ PREFIX specifies what to insert at the start of each line."
51 51
52(defun data-debug-insert-object-button (object prefix prebuttontext) 52(defun data-debug-insert-object-button (object prefix prebuttontext)
53 "Insert a button representing OBJECT. 53 "Insert a button representing OBJECT.
54PREFIX is the text that preceeds the button. 54PREFIX is the text that precedes the button.
55PREBUTTONTEXT is some text between PREFIX and the object button." 55PREBUTTONTEXT is some text between PREFIX and the object button."
56 (let ((start (point)) 56 (let ((start (point))
57 (end nil) 57 (end nil)
diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el
index 846ea61da34..12fd666f415 100644
--- a/lisp/emacs-lisp/eieio-opt.el
+++ b/lisp/emacs-lisp/eieio-opt.el
@@ -1,9 +1,9 @@
1;;; eieio-opt.el -- eieio optional functions (debug, printing, speedbar) 1;;; eieio-opt.el -- eieio optional functions (debug, printing, speedbar)
2 2
3;;; Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 3;; Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2008,
4;;; 2008, 2009 Free Software Foundation, Inc. 4;; 2009 Free Software Foundation, Inc.
5 5
6;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
7;; Version: 0.2 7;; Version: 0.2
8;; Keywords: OO, lisp 8;; Keywords: OO, lisp
9 9
@@ -75,7 +75,7 @@ Argument CH-PREFIX is another character prefix to display."
75 75
76(defun eieio-describe-class (class &optional headerfcn) 76(defun eieio-describe-class (class &optional headerfcn)
77 "Describe a CLASS defined by a string or symbol. 77 "Describe a CLASS defined by a string or symbol.
78If CLASS is actually an object, then also display current values of that obect. 78If CLASS is actually an object, then also display current values of that object.
79Optional HEADERFCN should be called to insert a few bits of info first." 79Optional HEADERFCN should be called to insert a few bits of info first."
80 (interactive (list (eieio-read-class "Class: "))) 80 (interactive (list (eieio-read-class "Class: ")))
81 (with-output-to-temp-buffer (help-buffer) ;"*Help*" 81 (with-output-to-temp-buffer (help-buffer) ;"*Help*"
diff --git a/lisp/emacs-lisp/eieio-speedbar.el b/lisp/emacs-lisp/eieio-speedbar.el
index 3a1995a773c..8eb0a919a0b 100644
--- a/lisp/emacs-lisp/eieio-speedbar.el
+++ b/lisp/emacs-lisp/eieio-speedbar.el
@@ -3,7 +3,7 @@
3;; Copyright (C) 1999, 2000, 2001, 2002, 2005, 2007, 2008, 2009 3;; Copyright (C) 1999, 2000, 2001, 2002, 2005, 2007, 2008, 2009
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Eric M. Ludlam <zappo@gnu.org> 6;; Author: Eric M. Ludlam <zappo@gnu.org>
7;; Version: 0.2 7;; Version: 0.2
8;; Keywords: OO, tools 8;; Keywords: OO, tools
9 9
@@ -77,9 +77,9 @@
77;; string. This will automatically handle cases when speedbar is 77;; string. This will automatically handle cases when speedbar is
78;; not already loaded, and specifying all overload functions. 78;; not already loaded, and specifying all overload functions.
79;; 79;;
80;; 5) Create an initliazer function which looks like this: 80;; 5) Create an initializer function which looks like this:
81;; 81;;
82;; (defun my-speedbar-mode-initilaize () 82;; (defun my-speedbar-mode-initialize ()
83;; "documentation" 83;; "documentation"
84;; (interactive) 84;; (interactive)
85;; (speedbar-frame-mode 1) 85;; (speedbar-frame-mode 1)
@@ -136,8 +136,8 @@
136 "Create a speedbar mode for displaying an object hierarchy. 136 "Create a speedbar mode for displaying an object hierarchy.
137MAP-FN is the keymap generator function used for extra keys. 137MAP-FN is the keymap generator function used for extra keys.
138MAP-VAR is the keymap variable used. 138MAP-VAR is the keymap variable used.
139MENU-VAR is the symbol containting an easymenu compatible menu part to use. 139MENU-VAR is the symbol containing an easymenu compatible menu part to use.
140MODENAME is a s tring used to identify this browser mode. 140MODENAME is a string used to identify this browser mode.
141FETCHER is a generic function used to fetch the base object list used when 141FETCHER is a generic function used to fetch the base object list used when
142creating the speedbar display." 142creating the speedbar display."
143 (if (not (featurep 'speedbar)) 143 (if (not (featurep 'speedbar))
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el
index 60a8cef36ce..f9ac09001c6 100644
--- a/lisp/emacs-lisp/eieio.el
+++ b/lisp/emacs-lisp/eieio.el
@@ -1,10 +1,10 @@
1;;; eieio.el --- Enhanced Implementation of Emacs Interpreted Objects 1;;; eieio.el --- Enhanced Implementation of Emacs Interpreted Objects
2;;; or maybe Eric's Implementation of Emacs Intrepreted Objects 2;;; or maybe Eric's Implementation of Emacs Intrepreted Objects
3 3
4;;; Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 4;; Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
5;;; 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 5;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
6 6
7;; Author: Eric M. Ludlam <zappo@gnu.org> 7;; Author: Eric M. Ludlam <zappo@gnu.org>
8;; Version: 0.2 8;; Version: 0.2
9;; Keywords: OO, lisp 9;; Keywords: OO, lisp
10 10
@@ -307,7 +307,7 @@ Options added to EIEIO:
307 If a string, use as an error string if someone does 307 If a string, use as an error string if someone does
308 try to make an instance. 308 try to make an instance.
309 :method-invocation-order 309 :method-invocation-order
310 - Control the method invokation order if there is 310 - Control the method invocation order if there is
311 multiple inheritance. Valid values are: 311 multiple inheritance. Valid values are:
312 :breadth-first - The default. 312 :breadth-first - The default.
313 :depth-first 313 :depth-first
@@ -333,7 +333,7 @@ wish, and reference them using the function `class-option'."
333;;;###autoload 333;;;###autoload
334(defun eieio-defclass-autoload (cname superclasses filename doc) 334(defun eieio-defclass-autoload (cname superclasses filename doc)
335 "Create autoload symbols for the EIEIO class CNAME. 335 "Create autoload symbols for the EIEIO class CNAME.
336SUPERCLASSES are the superclasses that CNAME inherites from. 336SUPERCLASSES are the superclasses that CNAME inherits from.
337DOC is the docstring for CNAME. 337DOC is the docstring for CNAME.
338This function creates a mock-class for CNAME and adds it into 338This function creates a mock-class for CNAME and adds it into
339SUPERCLASSES as children. 339SUPERCLASSES as children.
@@ -1020,7 +1020,7 @@ if default value is nil."
1020 1020
1021(defun eieio-copy-parents-into-subclass (newc parents) 1021(defun eieio-copy-parents-into-subclass (newc parents)
1022 "Copy into NEWC the slots of PARENTS. 1022 "Copy into NEWC the slots of PARENTS.
1023Follow the rules of not overwritting early parents when applying to 1023Follow the rules of not overwriting early parents when applying to
1024the new child class." 1024the new child class."
1025 (let ((ps (aref newc class-parent)) 1025 (let ((ps (aref newc class-parent))
1026 (sn (class-option-assoc (aref newc class-options) 1026 (sn (class-option-assoc (aref newc class-options)
@@ -1101,7 +1101,7 @@ for each slot. For example:
1101 1101
1102 (make-instance 'foo :slot1 value1 :slotN valueN) 1102 (make-instance 'foo :slot1 value1 :slotN valueN)
1103 1103
1104Compatability note: 1104Compatibility note:
1105 1105
1106If the first element of INITARGS is a string, it is used as the 1106If the first element of INITARGS is a string, it is used as the
1107name of the class. 1107name of the class.
@@ -1615,7 +1615,7 @@ The CLOS function `class-direct-superclasses' is aliased to this function."
1615 `(aref (class-v ,class) class-children)) 1615 `(aref (class-v ,class) class-children))
1616 1616
1617(defun class-children (class) 1617(defun class-children (class)
1618"Return child classses to CLASS. 1618"Return child classes to CLASS.
1619 1619
1620The CLOS function `class-direct-subclasses' is aliased to this function." 1620The CLOS function `class-direct-subclasses' is aliased to this function."
1621 (if (not (class-p class)) (signal 'wrong-type-argument (list 'class-p class))) 1621 (if (not (class-p class)) (signal 'wrong-type-argument (list 'class-p class)))
@@ -2274,7 +2274,7 @@ function performs no type checking!"
2274If CLASS is not a class then use `generic' instead. If class has no 2274If CLASS is not a class then use `generic' instead. If class has no
2275form, but has a parent class, then trace to that parent class. The 2275form, but has a parent class, then trace to that parent class. The
2276first time a form is requested from a symbol, an optimized path is 2276first time a form is requested from a symbol, an optimized path is
2277memoized for future faster use." 2277memorized for future faster use."
2278 (let ((emto (aref (get method 'eieio-method-obarray) 2278 (let ((emto (aref (get method 'eieio-method-obarray)
2279 (if class key (+ key 3))))) 2279 (if class key (+ key 3)))))
2280 (if (class-p class) 2280 (if (class-p class)