aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-09-30 07:55:35 +0000
committerGlenn Morris2009-09-30 07:55:35 +0000
commitd16d4acd043c76ba70dd042af9de2394fa14ac90 (patch)
tree7ff0a774a3c08305b4d889a66b797dca92c5256f
parent40f9bf943754f8cb1f72bbb395c7de489053dc98 (diff)
downloademacs-d16d4acd043c76ba70dd042af9de2394fa14ac90.tar.gz
emacs-d16d4acd043c76ba70dd042af9de2394fa14ac90.zip
Fix comment typos.
(semantic-mrub-completing-read, semantic-mrub-switch-tags): Fix doc typos.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/cedet/semantic/mru-bookmark.el8
2 files changed, 7 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ad3abdc332a..1e60a7f2bf0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12009-09-30 Glenn Morris <rgm@gnu.org> 12009-09-30 Glenn Morris <rgm@gnu.org>
2 2
3 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
4 (semantic-mrub-switch-tags): Fix doc typos.
5
3 * cedet/semantic/db-global.el (data-debug-new-buffer) 6 * cedet/semantic/db-global.el (data-debug-new-buffer)
4 (data-debug-insert-thing): Remove unneeded declarations (one broken). 7 (data-debug-insert-thing): Remove unneeded declarations (one broken).
5 (semanticdb-enable-gnu-global-databases): Fix prompt typo. 8 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
diff --git a/lisp/cedet/semantic/mru-bookmark.el b/lisp/cedet/semantic/mru-bookmark.el
index 66da681e3b4..550aa8424fc 100644
--- a/lisp/cedet/semantic/mru-bookmark.el
+++ b/lisp/cedet/semantic/mru-bookmark.el
@@ -40,7 +40,7 @@
40;; 40;;
41;; C-x B <select a tag name> RET 41;; C-x B <select a tag name> RET
42;; 42;;
43;; In the above, the history is pre-filled with the tags you recenetly 43;; In the above, the history is pre-filled with the tags you recently
44;; edited in the order you edited them. 44;; edited in the order you edited them.
45 45
46;;; Code: 46;;; Code:
@@ -126,7 +126,7 @@ REASON is a symbol. See slot `reason' on `semantic-bookmark'."
126 (setq frequency (1+ frequency)) 126 (setq frequency (1+ frequency))
127 ) 127 )
128 (oset sbm reason reason)) 128 (oset sbm reason reason))
129 ;; This can fail on XEmacs at miscelaneous times. 129 ;; This can fail on XEmacs at miscellaneous times.
130 (error nil)) 130 (error nil))
131 ) 131 )
132 132
@@ -355,7 +355,7 @@ minor mode is enabled."
355 355
356(defun semantic-mrub-completing-read (prompt) 356(defun semantic-mrub-completing-read (prompt)
357 "Do a `completing-read' on elements from the mru bookmark ring. 357 "Do a `completing-read' on elements from the mru bookmark ring.
358Argument PROMPT is the promot to use when reading." 358Argument PROMPT is the prompt to use when reading."
359 (if (ring-empty-p (oref semantic-mru-bookmark-ring ring)) 359 (if (ring-empty-p (oref semantic-mru-bookmark-ring ring))
360 (error "Semantic Bookmark ring is currently empty")) 360 (error "Semantic Bookmark ring is currently empty"))
361 (let* ((ring (oref semantic-mru-bookmark-ring ring)) 361 (let* ((ring (oref semantic-mru-bookmark-ring ring))
@@ -399,7 +399,7 @@ Argument PROMPT is the promot to use when reading."
399 399
400(defun semantic-mrub-switch-tags (tagmark) 400(defun semantic-mrub-switch-tags (tagmark)
401 "Switch tags to TAGMARK. 401 "Switch tags to TAGMARK.
402Selects a new tag via promt through the mru tag ring. 402Selects a new tag via prompt through the mru tag ring.
403Jumps to the tag and highlights it briefly." 403Jumps to the tag and highlights it briefly."
404 (interactive (list (semantic-mrub-completing-read "Switch to tag"))) 404 (interactive (list (semantic-mrub-completing-read "Switch to tag")))
405 (if (not (semantic-bookmark-p tagmark)) 405 (if (not (semantic-bookmark-p tagmark))