diff options
| author | Glenn Morris | 2009-10-01 02:39:07 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-10-01 02:39:07 +0000 |
| commit | bd2afec2e64aa76610f58bb83fe952652f7922f3 (patch) | |
| tree | 1ffc8badc8f27755c18426812dd5ab66b14eb6b8 /lisp | |
| parent | 9515cdccc0c3ce9b2be52e1614dcd9f8ccc1ed00 (diff) | |
| download | emacs-bd2afec2e64aa76610f58bb83fe952652f7922f3.tar.gz emacs-bd2afec2e64aa76610f58bb83fe952652f7922f3.zip | |
Doc/message fixes.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 24 | ||||
| -rw-r--r-- | lisp/cedet/cedet-files.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/cedet-idutils.el | 10 | ||||
| -rw-r--r-- | lisp/cedet/cedet.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/data-debug.el | 38 | ||||
| -rw-r--r-- | lisp/cedet/ede.el | 23 | ||||
| -rw-r--r-- | lisp/cedet/semantic.el | 12 |
7 files changed, 71 insertions, 46 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e71b1b2f34d..cf6b0d4e5d5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,29 @@ | |||
| 1 | 2009-10-01 Glenn Morris <rgm@gnu.org> | 1 | 2009-10-01 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * cedet/cedet-files.el (cedet-directory-name-to-file-name): | ||
| 4 | * cedet/cedet-idutils.el (cedet-idutils-search) | ||
| 5 | (cedet-idutils-expand-filename, cedet-idutils-support-for-directory) | ||
| 6 | (cedet-idutils-version-check): | ||
| 7 | * cedet/cedet.el (cedet-version): | ||
| 8 | * cedet/data-debug.el (data-debug-insert-overlay-button) | ||
| 9 | (data-debug-insert-overlay-list-button) | ||
| 10 | (data-debug-insert-buffer-button) | ||
| 11 | (data-debug-insert-buffer-list-button) | ||
| 12 | (data-debug-insert-process-button, data-debug-insert-ring-button) | ||
| 13 | (data-debug-insert-widget, data-debug-insert-stuff-list-button) | ||
| 14 | (data-debug-insert-stuff-vector-button) | ||
| 15 | (data-debug-insert-symbol-button, data-debug-insert-string) | ||
| 16 | (data-debug-insert-number, data-debug-insert-lambda-expression) | ||
| 17 | (data-debug-insert-nil, data-debug-insert-simple-thing) | ||
| 18 | (data-debug-insert-custom, data-debug-edebug-expr): | ||
| 19 | * cedet/ede.el (ede-auto-add-method, ede-project-class-files) | ||
| 20 | (global-ede-mode-map, ede-new, ede-debug-target) | ||
| 21 | (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set): | ||
| 22 | * cedet/semantic.el (semantic-minimum-working-buffer-size) | ||
| 23 | (semantic-fetch-tags, semantic-submode-list) | ||
| 24 | (semantic-default-submodes): | ||
| 25 | Doc/message fixes. | ||
| 26 | |||
| 3 | * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the | 27 | * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the |
| 4 | match-data. (Bug#4555). | 28 | match-data. (Bug#4555). |
| 5 | 29 | ||
diff --git a/lisp/cedet/cedet-files.el b/lisp/cedet/cedet-files.el index b7d9b5dbdbd..850526681b7 100644 --- a/lisp/cedet/cedet-files.el +++ b/lisp/cedet/cedet-files.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cedet-files.el --- Common routines dealing with file names. | 1 | ;;; cedet-files.el --- Common routines dealing with file names. |
| 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 <eric@siege-engine.com> | 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | 6 | ||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | (defun cedet-directory-name-to-file-name (referencedir &optional testmode) | 29 | (defun cedet-directory-name-to-file-name (referencedir &optional testmode) |
| 30 | "Convert the REFERENCEDIR (a full path name) into a filename. | 30 | "Convert the REFERENCEDIR (a full path name) into a filename. |
| 31 | Convert directory seperation characters into ! characters. | 31 | Convert directory separation characters into ! characters. |
| 32 | Optional argument TESTMODE is used by tests to avoid conversion | 32 | Optional argument TESTMODE is used by tests to avoid conversion |
| 33 | to the file's truename, and dodging platform tricks." | 33 | to the file's truename, and dodging platform tricks." |
| 34 | (let ((file referencedir)) | 34 | (let ((file referencedir)) |
diff --git a/lisp/cedet/cedet-idutils.el b/lisp/cedet/cedet-idutils.el index 3635f7fc8ae..1aeccb53058 100644 --- a/lisp/cedet/cedet-idutils.el +++ b/lisp/cedet/cedet-idutils.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cedet-idutils.el --- ID Utils support for CEDET. | 1 | ;;; cedet-idutils.el --- ID Utils support for CEDET. |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 2009 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2009 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> | 5 | ;; Author: Eric M. Ludlam <eric@siege-engine.com> |
| 6 | ;; Version: 0.2 | 6 | ;; Version: 0.2 |
| @@ -44,7 +44,7 @@ | |||
| 44 | :group 'cedet) | 44 | :group 'cedet) |
| 45 | 45 | ||
| 46 | (defun cedet-idutils-search (searchtext texttype type scope) | 46 | (defun cedet-idutils-search (searchtext texttype type scope) |
| 47 | "Perform a search with IDUtils, return the created buffer. | 47 | "Perform a search with ID Utils, return the created buffer. |
| 48 | SEARCHTEXT is text to find. | 48 | SEARCHTEXT is text to find. |
| 49 | TEXTTYPE is the type of text, such as 'regexp, 'string, 'tagname, | 49 | TEXTTYPE is the type of text, such as 'regexp, 'string, 'tagname, |
| 50 | 'tagregexp, or 'tagcompletions. | 50 | 'tagregexp, or 'tagcompletions. |
| @@ -109,7 +109,7 @@ Return the created buffer with with program output." | |||
| 109 | ;;; UTIL CALLS | 109 | ;;; UTIL CALLS |
| 110 | ;; | 110 | ;; |
| 111 | (defun cedet-idutils-expand-filename (filename) | 111 | (defun cedet-idutils-expand-filename (filename) |
| 112 | "Expand the FILENAME with IDUtils. | 112 | "Expand the FILENAME with ID Utils. |
| 113 | Return a filename relative to the default directory." | 113 | Return a filename relative to the default directory." |
| 114 | (interactive "sFile: ") | 114 | (interactive "sFile: ") |
| 115 | (let ((ans (save-excursion | 115 | (let ((ans (save-excursion |
| @@ -129,7 +129,7 @@ Return a filename relative to the default directory." | |||
| 129 | ans)) | 129 | ans)) |
| 130 | 130 | ||
| 131 | (defun cedet-idutils-support-for-directory (&optional dir) | 131 | (defun cedet-idutils-support-for-directory (&optional dir) |
| 132 | "Return non-nil if IDUtils has a support file for DIR. | 132 | "Return non-nil if ID Utils has a support file for DIR. |
| 133 | If DIR is not supplied, use the current default directory. | 133 | If DIR is not supplied, use the current default directory. |
| 134 | This works by running lid on a bogus symbol, and looking for | 134 | This works by running lid on a bogus symbol, and looking for |
| 135 | the error code." | 135 | the error code." |
| @@ -168,7 +168,7 @@ return nil." | |||
| 168 | (if (inversion-check-version rev nil cedet-idutils-min-version) | 168 | (if (inversion-check-version rev nil cedet-idutils-min-version) |
| 169 | (if noerror | 169 | (if noerror |
| 170 | nil | 170 | nil |
| 171 | (error "Version of ID Utis is %s. Need at least %s" | 171 | (error "Version of ID Utils is %s. Need at least %s" |
| 172 | rev cedet-idutils-min-version)) | 172 | rev cedet-idutils-min-version)) |
| 173 | ;; Else, return TRUE, as in good enough. | 173 | ;; Else, return TRUE, as in good enough. |
| 174 | (when (interactive-p) | 174 | (when (interactive-p) |
diff --git a/lisp/cedet/cedet.el b/lisp/cedet/cedet.el index c98dc9b8893..73e2c5ae299 100644 --- a/lisp/cedet/cedet.el +++ b/lisp/cedet/cedet.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; cedet.el --- Setup CEDET environment | 1 | ;;; cedet.el --- Setup CEDET environment |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 3 | ;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 4 | ;;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: David Ponce <david@dponce.com> | 6 | ;; Author: David Ponce <david@dponce.com> |
| 7 | ;; Maintainer: Eric M. Ludlam <zappo@gnu.org> | 7 | ;; Maintainer: Eric M. Ludlam <zappo@gnu.org> |
| @@ -94,7 +94,7 @@ REQUESTED VERSION is the version requested by the CEDET load script. | |||
| 94 | See `cedet-packages' for details. | 94 | See `cedet-packages' for details. |
| 95 | 95 | ||
| 96 | FILE VERSION is the version number found in the source file | 96 | FILE VERSION is the version number found in the source file |
| 97 | for the specificed PACKAGE. | 97 | for the specified PACKAGE. |
| 98 | 98 | ||
| 99 | LOADED VERSION is the version of PACKAGE current loaded in Emacs | 99 | LOADED VERSION is the version of PACKAGE current loaded in Emacs |
| 100 | memory and (presumably) running in this Emacs instance. Value is X | 100 | memory and (presumably) running in this Emacs instance. Value is X |
diff --git a/lisp/cedet/data-debug.el b/lisp/cedet/data-debug.el index d132e47fc9a..85455140d4a 100644 --- a/lisp/cedet/data-debug.el +++ b/lisp/cedet/data-debug.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; data-debug.el --- Datastructure Debugger | 1 | ;;; data-debug.el --- Datastructure 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 | ;; Version: 0.2 | 6 | ;; Version: 0.2 |
| @@ -111,7 +111,7 @@ PREFIX specifies what to insert at the start of each line." | |||
| 111 | 111 | ||
| 112 | (defun data-debug-insert-overlay-button (overlay prefix prebuttontext) | 112 | (defun data-debug-insert-overlay-button (overlay prefix prebuttontext) |
| 113 | "Insert a button representing OVERLAY. | 113 | "Insert a button representing OVERLAY. |
| 114 | PREFIX is the text that preceeds the button. | 114 | PREFIX is the text that precedes the button. |
| 115 | PREBUTTONTEXT is some text between prefix and the overlay button." | 115 | PREBUTTONTEXT is some text between prefix and the overlay button." |
| 116 | (let ((start (point)) | 116 | (let ((start (point)) |
| 117 | (end nil) | 117 | (end nil) |
| @@ -160,7 +160,7 @@ PREFIX specifies what to insert at the start of each line." | |||
| 160 | prefix | 160 | prefix |
| 161 | prebuttontext) | 161 | prebuttontext) |
| 162 | "Insert a button representing OVERLAYLIST. | 162 | "Insert a button representing OVERLAYLIST. |
| 163 | PREFIX is the text that preceeds the button. | 163 | PREFIX is the text that precedes the button. |
| 164 | PREBUTTONTEXT is some text between prefix and the overlay list button." | 164 | PREBUTTONTEXT is some text between prefix and the overlay list button." |
| 165 | (let ((start (point)) | 165 | (let ((start (point)) |
| 166 | (end nil) | 166 | (end nil) |
| @@ -215,7 +215,7 @@ PREFIX specifies what to insert at the start of each line." | |||
| 215 | 215 | ||
| 216 | (defun data-debug-insert-buffer-button (buffer prefix prebuttontext) | 216 | (defun data-debug-insert-buffer-button (buffer prefix prebuttontext) |
| 217 | "Insert a button representing BUFFER. | 217 | "Insert a button representing BUFFER. |
| 218 | PREFIX is the text that preceeds the button. | 218 | PREFIX is the text that precedes the button. |
| 219 | PREBUTTONTEXT is some text between prefix and the buffer button." | 219 | PREBUTTONTEXT is some text between prefix and the buffer button." |
| 220 | (let ((start (point)) | 220 | (let ((start (point)) |
| 221 | (end nil) | 221 | (end nil) |
| @@ -264,7 +264,7 @@ PREFIX specifies what to insert at the start of each line." | |||
| 264 | prefix | 264 | prefix |
| 265 | prebuttontext) | 265 | prebuttontext) |
| 266 | "Insert a button representing BUFFERLIST. | 266 | "Insert a button representing BUFFERLIST. |
| 267 | PREFIX is the text that preceeds the button. | 267 | PREFIX is the text that precedes the button. |
| 268 | PREBUTTONTEXT is some text between prefix and the buffer list button." | 268 | PREBUTTONTEXT is some text between prefix and the buffer list button." |
| 269 | (let ((start (point)) | 269 | (let ((start (point)) |
| 270 | (end nil) | 270 | (end nil) |
| @@ -320,7 +320,7 @@ PREFIX specifies what to insert at the start of each line." | |||
| 320 | 320 | ||
| 321 | (defun data-debug-insert-process-button (process prefix prebuttontext) | 321 | (defun data-debug-insert-process-button (process prefix prebuttontext) |
| 322 | "Insert a button representing PROCESS. | 322 | "Insert a button representing PROCESS. |
| 323 | PREFIX is the text that preceeds the button. | 323 | PREFIX is the text that precedes the button. |
| 324 | PREBUTTONTEXT is some text between prefix and the process button." | 324 | PREBUTTONTEXT is some text between prefix and the process button." |
| 325 | (let ((start (point)) | 325 | (let ((start (point)) |
| 326 | (end nil) | 326 | (end nil) |
| @@ -372,7 +372,7 @@ PREFIX specifies what to insert at the start of each line." | |||
| 372 | prefix | 372 | prefix |
| 373 | prebuttontext) | 373 | prebuttontext) |
| 374 | "Insert a button representing RING. | 374 | "Insert a button representing RING. |
| 375 | PREFIX is the text that preceeds the button. | 375 | PREFIX is the text that precedes the button. |
| 376 | PREBUTTONTEXT is some text between prefix and the stuff list button." | 376 | PREBUTTONTEXT is some text between prefix and the stuff list button." |
| 377 | (let* ((start (point)) | 377 | (let* ((start (point)) |
| 378 | (end nil) | 378 | (end nil) |
| @@ -481,7 +481,7 @@ PREBUTTONTEXT is some text between prefix and the stuff list button." | |||
| 481 | (defun data-debug-insert-widget (widget prefix prebuttontext) | 481 | (defun data-debug-insert-widget (widget prefix prebuttontext) |
| 482 | "Insert one WIDGET. | 482 | "Insert one WIDGET. |
| 483 | A Symbol is a simple thing, but this provides some face and prefix rules. | 483 | A Symbol is a simple thing, but this provides some face and prefix rules. |
| 484 | PREFIX is the text that preceeds the button. | 484 | PREFIX is the text that precedes the button. |
| 485 | PREBUTTONTEXT is some text between prefix and the thing." | 485 | PREBUTTONTEXT is some text between prefix and the thing." |
| 486 | (let ((string (dd-propertize (format "#<WIDGET %s>" (car widget)) | 486 | (let ((string (dd-propertize (format "#<WIDGET %s>" (car widget)) |
| 487 | 'face 'font-lock-keyword-face))) | 487 | 'face 'font-lock-keyword-face))) |
| @@ -534,7 +534,7 @@ PREFIX specifies what to insert at the start of each line." | |||
| 534 | prefix | 534 | prefix |
| 535 | prebuttontext) | 535 | prebuttontext) |
| 536 | "Insert a button representing STUFFLIST. | 536 | "Insert a button representing STUFFLIST. |
| 537 | PREFIX is the text that preceeds the button. | 537 | PREFIX is the text that precedes the button. |
| 538 | PREBUTTONTEXT is some text between prefix and the stuff list button." | 538 | PREBUTTONTEXT is some text between prefix and the stuff list button." |
| 539 | (let ((start (point)) | 539 | (let ((start (point)) |
| 540 | (end nil) | 540 | (end nil) |
| @@ -593,7 +593,7 @@ PREFIX specifies what to insert at the start of each line." | |||
| 593 | prefix | 593 | prefix |
| 594 | prebuttontext) | 594 | prebuttontext) |
| 595 | "Insert a button representing STUFFVECTOR. | 595 | "Insert a button representing STUFFVECTOR. |
| 596 | PREFIX is the text that preceeds the button. | 596 | PREFIX is the text that precedes the button. |
| 597 | PREBUTTONTEXT is some text between prefix and the stuff vector button." | 597 | PREBUTTONTEXT is some text between prefix and the stuff vector button." |
| 598 | (let* ((start (point)) | 598 | (let* ((start (point)) |
| 599 | (end nil) | 599 | (end nil) |
| @@ -639,8 +639,8 @@ PREBUTTONTEXT is some text between prefix and the stuff vector button." | |||
| 639 | 639 | ||
| 640 | (defun data-debug-insert-symbol-button (symbol prefix prebuttontext) | 640 | (defun data-debug-insert-symbol-button (symbol prefix prebuttontext) |
| 641 | "Insert a button representing SYMBOL. | 641 | "Insert a button representing SYMBOL. |
| 642 | PREFIX is the text that preceeds the button. | 642 | PREFIX is the text that precedes the button. |
| 643 | PREBUTTONTEXT is some text between prefix and the symbol button." | 643 | PREBUTTONTEXT is some text between prefix and the symbol button." |
| 644 | (let ((string | 644 | (let ((string |
| 645 | (cond ((fboundp symbol) | 645 | (cond ((fboundp symbol) |
| 646 | (dd-propertize (concat "#'" (symbol-name symbol)) | 646 | (dd-propertize (concat "#'" (symbol-name symbol)) |
| @@ -664,7 +664,7 @@ PREBUTTONTEXT is some text between prefix and the stuff vector button." | |||
| 664 | (defun data-debug-insert-string (thing prefix prebuttontext) | 664 | (defun data-debug-insert-string (thing prefix prebuttontext) |
| 665 | "Insert one symbol THING. | 665 | "Insert one symbol THING. |
| 666 | A Symbol is a simple thing, but this provides some face and prefix rules. | 666 | A Symbol is a simple thing, but this provides some face and prefix rules. |
| 667 | PREFIX is the text that preceeds the button. | 667 | PREFIX is the text that precedes the button. |
| 668 | PREBUTTONTEXT is some text between prefix and the thing." | 668 | PREBUTTONTEXT is some text between prefix and the thing." |
| 669 | (let ((newstr thing)) | 669 | (let ((newstr thing)) |
| 670 | (while (string-match "\n" newstr) | 670 | (while (string-match "\n" newstr) |
| @@ -680,7 +680,7 @@ PREBUTTONTEXT is some text between prefix and the thing." | |||
| 680 | (defun data-debug-insert-number (thing prefix prebuttontext) | 680 | (defun data-debug-insert-number (thing prefix prebuttontext) |
| 681 | "Insert one symbol THING. | 681 | "Insert one symbol THING. |
| 682 | A Symbol is a simple thing, but this provides some face and prefix rules. | 682 | A Symbol is a simple thing, but this provides some face and prefix rules. |
| 683 | PREFIX is the text that preceeds the button. | 683 | PREFIX is the text that precedes the button. |
| 684 | PREBUTTONTEXT is some text between prefix and the thing." | 684 | PREBUTTONTEXT is some text between prefix and the thing." |
| 685 | (insert prefix prebuttontext | 685 | (insert prefix prebuttontext |
| 686 | (dd-propertize (format "%S" thing) | 686 | (dd-propertize (format "%S" thing) |
| @@ -691,7 +691,7 @@ PREBUTTONTEXT is some text between prefix and the thing." | |||
| 691 | (defun data-debug-insert-lambda-expression (thing prefix prebuttontext) | 691 | (defun data-debug-insert-lambda-expression (thing prefix prebuttontext) |
| 692 | "Insert one lambda expression THING. | 692 | "Insert one lambda expression THING. |
| 693 | A Symbol is a simple thing, but this provides some face and prefix rules. | 693 | A Symbol is a simple thing, but this provides some face and prefix rules. |
| 694 | PREFIX is the text that preceeds the button. | 694 | PREFIX is the text that precedes the button. |
| 695 | PREBUTTONTEXT is some text between prefix and the thing." | 695 | PREBUTTONTEXT is some text between prefix and the thing." |
| 696 | (let ((txt (prin1-to-string thing))) | 696 | (let ((txt (prin1-to-string thing))) |
| 697 | (data-debug-insert-simple-thing | 697 | (data-debug-insert-simple-thing |
| @@ -701,7 +701,7 @@ PREBUTTONTEXT is some text between prefix and the thing." | |||
| 701 | ;;; nil thing | 701 | ;;; nil thing |
| 702 | (defun data-debug-insert-nil (thing prefix prebuttontext) | 702 | (defun data-debug-insert-nil (thing prefix prebuttontext) |
| 703 | "Insert one simple THING with a face. | 703 | "Insert one simple THING with a face. |
| 704 | PREFIX is the text that preceeds the button. | 704 | PREFIX is the text that precedes the button. |
| 705 | PREBUTTONTEXT is some text between prefix and the thing. | 705 | PREBUTTONTEXT is some text between prefix and the thing. |
| 706 | FACE is the face to use." | 706 | FACE is the face to use." |
| 707 | (insert prefix prebuttontext) | 707 | (insert prefix prebuttontext) |
| @@ -717,7 +717,7 @@ FACE is the face to use." | |||
| 717 | ;;; simple thing | 717 | ;;; simple thing |
| 718 | (defun data-debug-insert-simple-thing (thing prefix prebuttontext face) | 718 | (defun data-debug-insert-simple-thing (thing prefix prebuttontext face) |
| 719 | "Insert one simple THING with a face. | 719 | "Insert one simple THING with a face. |
| 720 | PREFIX is the text that preceeds the button. | 720 | PREFIX is the text that precedes the button. |
| 721 | PREBUTTONTEXT is some text between prefix and the thing. | 721 | PREBUTTONTEXT is some text between prefix and the thing. |
| 722 | FACE is the face to use." | 722 | FACE is the face to use." |
| 723 | (insert prefix prebuttontext) | 723 | (insert prefix prebuttontext) |
| @@ -733,7 +733,7 @@ FACE is the face to use." | |||
| 733 | (defun data-debug-insert-custom (thingstring prefix prebuttontext face) | 733 | (defun data-debug-insert-custom (thingstring prefix prebuttontext face) |
| 734 | "Insert one simple THINGSTRING with a face. | 734 | "Insert one simple THINGSTRING with a face. |
| 735 | Use for simple items that need a custom insert. | 735 | Use for simple items that need a custom insert. |
| 736 | PREFIX is the text that preceeds the button. | 736 | PREFIX is the text that precedes the button. |
| 737 | PREBUTTONTEXT is some text between prefix and the thing. | 737 | PREBUTTONTEXT is some text between prefix and the thing. |
| 738 | FACE is the face to use." | 738 | FACE is the face to use." |
| 739 | (insert prefix prebuttontext) | 739 | (insert prefix prebuttontext) |
| @@ -1032,7 +1032,7 @@ Do nothing if already expanded." | |||
| 1032 | ;; Various commands for displaying complex data structures. | 1032 | ;; Various commands for displaying complex data structures. |
| 1033 | 1033 | ||
| 1034 | (defun data-debug-edebug-expr (expr) | 1034 | (defun data-debug-edebug-expr (expr) |
| 1035 | "Dump out the contets of some expression EXPR in edebug with ddebug." | 1035 | "Dump out the contents of some expression EXPR in edebug with ddebug." |
| 1036 | (interactive | 1036 | (interactive |
| 1037 | (list (let ((minibuffer-completing-symbol t)) | 1037 | (list (let ((minibuffer-completing-symbol t)) |
| 1038 | (read-from-minibuffer "Eval: " | 1038 | (read-from-minibuffer "Eval: " |
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el index 54c0c933739..6766c07c556 100644 --- a/lisp/cedet/ede.el +++ b/lisp/cedet/ede.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; ede.el --- Emacs Development Environment gloss | 1 | ;;; ede.el --- Emacs Development Environment gloss |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | 3 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
| 4 | ;;; 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2007, 2008, 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 7 | ;; Keywords: project, make | 7 | ;; Keywords: project, make |
| @@ -75,7 +75,7 @@ | |||
| 75 | ) | 75 | ) |
| 76 | 76 | ||
| 77 | (defcustom ede-auto-add-method 'ask | 77 | (defcustom ede-auto-add-method 'ask |
| 78 | "Whether a new source file shoud be automatically added to a target. | 78 | "Whether a new source file should be automatically added to a target. |
| 79 | Whenever a new file is encountered in a directory controlled by a | 79 | Whenever a new file is encountered in a directory controlled by a |
| 80 | project file, all targets are queried to see if it should be added. | 80 | project file, all targets are queried to see if it should be added. |
| 81 | If the value is 'always, then the new file is added to the first | 81 | If the value is 'always, then the new file is added to the first |
| @@ -175,7 +175,7 @@ type is required and the load function used.") | |||
| 175 | :proj-file 'ede-simple-projectfile-for-dir | 175 | :proj-file 'ede-simple-projectfile-for-dir |
| 176 | :load-type 'ede-simple-load | 176 | :load-type 'ede-simple-load |
| 177 | :class-sym 'ede-simple-project)) | 177 | :class-sym 'ede-simple-project)) |
| 178 | "List of vectos defining how to determine what type of projects exist.") | 178 | "List of vectors defining how to determine what type of projects exist.") |
| 179 | 179 | ||
| 180 | ;;; Generic project information manager objects | 180 | ;;; Generic project information manager objects |
| 181 | 181 | ||
| @@ -575,7 +575,7 @@ Argument LIST-O-O is the list of objects to choose from." | |||
| 575 | (define-key map [menu-bar cedet-menu] | 575 | (define-key map [menu-bar cedet-menu] |
| 576 | (cons "Development" cedet-menu-map)) | 576 | (cons "Development" cedet-menu-map)) |
| 577 | map) | 577 | map) |
| 578 | "Keymap used in `global-ede-mode'") | 578 | "Keymap used in `global-ede-mode'.") |
| 579 | 579 | ||
| 580 | ;; Activate the EDE items in cedet-menu-map | 580 | ;; Activate the EDE items in cedet-menu-map |
| 581 | 581 | ||
| @@ -955,7 +955,7 @@ Optional argument NAME is the name to give this project." | |||
| 955 | nil t))) | 955 | nil t))) |
| 956 | ;; Make sure we have a valid directory | 956 | ;; Make sure we have a valid directory |
| 957 | (when (not (file-exists-p default-directory)) | 957 | (when (not (file-exists-p default-directory)) |
| 958 | (error "Cannot create project in non-existant directory %s" default-directory)) | 958 | (error "Cannot create project in non-existent directory %s" default-directory)) |
| 959 | (when (not (file-writable-p default-directory)) | 959 | (when (not (file-writable-p default-directory)) |
| 960 | (error "No write permissions for %s" default-directory)) | 960 | (error "No write permissions for %s" default-directory)) |
| 961 | ;; Create the project | 961 | ;; Create the project |
| @@ -1136,7 +1136,7 @@ Optional argument FORCE forces the file to be removed without asking." | |||
| 1136 | (ede-invoke-method 'project-compile-target)) | 1136 | (ede-invoke-method 'project-compile-target)) |
| 1137 | 1137 | ||
| 1138 | (defun ede-debug-target () | 1138 | (defun ede-debug-target () |
| 1139 | "Debug the current buffer's assocated target." | 1139 | "Debug the current buffer's associated target." |
| 1140 | (interactive) | 1140 | (interactive) |
| 1141 | (ede-invoke-method 'project-debug-target)) | 1141 | (ede-invoke-method 'project-debug-target)) |
| 1142 | 1142 | ||
| @@ -1174,7 +1174,7 @@ Optional argument GROUP is the slot group to display." | |||
| 1174 | (interactive "P") | 1174 | (interactive "P") |
| 1175 | (require 'eieio-custom) | 1175 | (require 'eieio-custom) |
| 1176 | (if (not (obj-of-class-p ede-object ede-target)) | 1176 | (if (not (obj-of-class-p ede-object ede-target)) |
| 1177 | (error "Current file is not part of a target.")) | 1177 | (error "Current file is not part of a target")) |
| 1178 | (let ((group (if group (eieio-read-customization-group ede-object)))) | 1178 | (let ((group (if group (eieio-read-customization-group ede-object)))) |
| 1179 | (ede-customize-target ede-object group))) | 1179 | (ede-customize-target ede-object group))) |
| 1180 | 1180 | ||
| @@ -1787,7 +1787,7 @@ This includes buffers controlled by a specific target of PROJECT." | |||
| 1787 | pl)) | 1787 | pl)) |
| 1788 | 1788 | ||
| 1789 | (defun ede-buffers () | 1789 | (defun ede-buffers () |
| 1790 | "Return a list of all buffers controled by an EDE object." | 1790 | "Return a list of all buffers controlled by an EDE object." |
| 1791 | (let ((bl (buffer-list)) | 1791 | (let ((bl (buffer-list)) |
| 1792 | (pl nil)) | 1792 | (pl nil)) |
| 1793 | (while bl | 1793 | (while bl |
| @@ -1799,7 +1799,7 @@ This includes buffers controlled by a specific target of PROJECT." | |||
| 1799 | pl)) | 1799 | pl)) |
| 1800 | 1800 | ||
| 1801 | (defun ede-map-buffers (proc) | 1801 | (defun ede-map-buffers (proc) |
| 1802 | "Execute PROC on all buffers controled by EDE." | 1802 | "Execute PROC on all buffers controlled by EDE." |
| 1803 | (mapcar proc (ede-buffers))) | 1803 | (mapcar proc (ede-buffers))) |
| 1804 | 1804 | ||
| 1805 | (defmethod ede-map-project-buffers ((this ede-project) proc) | 1805 | (defmethod ede-map-project-buffers ((this ede-project) proc) |
| @@ -1900,7 +1900,8 @@ Return the first non-nil value returned by PROC." | |||
| 1900 | 1900 | ||
| 1901 | (defun ede-set (variable value &optional proj) | 1901 | (defun ede-set (variable value &optional proj) |
| 1902 | "Set the project local VARIABLE to VALUE. | 1902 | "Set the project local VARIABLE to VALUE. |
| 1903 | If VARIABLE is not project local, just use set." | 1903 | If VARIABLE is not project local, just use set. Optional argument PROJ |
| 1904 | is the project to use, instead of `ede-current-project'." | ||
| 1904 | (let ((p (or proj (ede-current-project))) | 1905 | (let ((p (or proj (ede-current-project))) |
| 1905 | a) | 1906 | a) |
| 1906 | (if (and p (setq a (assoc variable (oref p local-variables)))) | 1907 | (if (and p (setq a (assoc variable (oref p local-variables)))) |
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index 5e78513b0ad..521f8af7942 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; semantic.el --- Semantic buffer evaluator. | 1 | ;;; semantic.el --- Semantic buffer evaluator. |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | ;;; 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2008, 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 7 | ;; Keywords: syntax | 7 | ;; Keywords: syntax |
| @@ -526,7 +526,7 @@ is requested." | |||
| 526 | (defvar semantic-minimum-working-buffer-size (* 1024 5) | 526 | (defvar semantic-minimum-working-buffer-size (* 1024 5) |
| 527 | "*The minimum size of a buffer before working messages are displayed. | 527 | "*The minimum size of a buffer before working messages are displayed. |
| 528 | Buffers smaller than will parse silently. | 528 | Buffers smaller than will parse silently. |
| 529 | Bufferse larger than this will display the working progress bar.") | 529 | Buffers larger than this will display the working progress bar.") |
| 530 | 530 | ||
| 531 | (defsubst semantic-parser-working-message (&optional arg) | 531 | (defsubst semantic-parser-working-message (&optional arg) |
| 532 | "Return the message string displayed while parsing. | 532 | "Return the message string displayed while parsing. |
| @@ -549,7 +549,7 @@ If the buffer cache is up to date, return that. | |||
| 549 | If the buffer cache is out of date, attempt an incremental reparse. | 549 | If the buffer cache is out of date, attempt an incremental reparse. |
| 550 | If the buffer has not been parsed before, or if the incremental reparse | 550 | If the buffer has not been parsed before, or if the incremental reparse |
| 551 | fails, then parse the entire buffer. | 551 | fails, then parse the entire buffer. |
| 552 | If a lexcial error had been previously discovered and the buffer | 552 | If a lexical error had been previously discovered and the buffer |
| 553 | was marked unparseable, then do nothing, and return the cache." | 553 | was marked unparseable, then do nothing, and return the cache." |
| 554 | (and | 554 | (and |
| 555 | ;; Is this a semantic enabled buffer? | 555 | ;; Is this a semantic enabled buffer? |
| @@ -995,12 +995,12 @@ Prevent this load system from loading files in twice.") | |||
| 995 | global-semanticdb-minor-mode | 995 | global-semanticdb-minor-mode |
| 996 | global-semantic-idle-summary-mode | 996 | global-semantic-idle-summary-mode |
| 997 | global-semantic-mru-bookmark-mode) | 997 | global-semantic-mru-bookmark-mode) |
| 998 | "List of auxilliary minor modes in the Semantic package.") | 998 | "List of auxiliary minor modes in the Semantic package.") |
| 999 | 999 | ||
| 1000 | ;;;###autoload | 1000 | ;;;###autoload |
| 1001 | (defcustom semantic-default-submodes | 1001 | (defcustom semantic-default-submodes |
| 1002 | '(global-semantic-idle-scheduler-mode global-semanticdb-minor-mode) | 1002 | '(global-semantic-idle-scheduler-mode global-semanticdb-minor-mode) |
| 1003 | "List of auxilliary Semantic minor modes enabled by `semantic-mode'. | 1003 | "List of auxiliary Semantic minor modes enabled by `semantic-mode'. |
| 1004 | The possible elements of this list include the following: | 1004 | The possible elements of this list include the following: |
| 1005 | 1005 | ||
| 1006 | `semantic-highlight-func-mode' - Highlight the current tag. | 1006 | `semantic-highlight-func-mode' - Highlight the current tag. |