summaryrefslogtreecommitdiff
path: root/lisp/cedet
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-11-18 15:48:22 +0100
committerStefan Kangas <stefankangas@gmail.com>2022-11-18 16:02:19 +0100
commitba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d (patch)
treeaee24e35b156969e2450699b3d02621bcec3375e /lisp/cedet
parentc116d9f74c8fc81a7e98b1519fa300998a8a15c3 (diff)
downloademacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.tar.gz
; Fix typos
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/ChangeLog.12
-rw-r--r--lisp/cedet/ede/proj.el2
-rw-r--r--lisp/cedet/semantic/analyze/fcn.el2
-rw-r--r--lisp/cedet/semantic/scope.el2
-rw-r--r--lisp/cedet/semantic/symref/list.el3
5 files changed, 6 insertions, 5 deletions
diff --git a/lisp/cedet/ChangeLog.1 b/lisp/cedet/ChangeLog.1
index 5fe2e0e6dee..7803fc7f0c3 100644
--- a/lisp/cedet/ChangeLog.1
+++ b/lisp/cedet/ChangeLog.1
@@ -459,7 +459,7 @@
* semantic/scope.el (semantic-analyze-scoped-types-default): If we
cannot find a type in the typecache, also look into the types
we already found. This is necessary since in C++, a 'using
- namespace' can be dependend on a previous one.
+ namespace' can be dependent on a previous one.
(semantic-completable-tags-from-type): When creating the list of
completable types, pull in types which are referenced through
'using' statements, and also preserve their filenames.
diff --git a/lisp/cedet/ede/proj.el b/lisp/cedet/ede/proj.el
index 7a486754a03..64f26516222 100644
--- a/lisp/cedet/ede/proj.el
+++ b/lisp/cedet/ede/proj.el
@@ -543,7 +543,7 @@ Converts all symbols into the objects to be used."
(when (slot-exists-p obj 'compiler)
(let ((comp (oref obj compiler)))
(if comp
- ;; Now that we have a pre-set compilers to use, convert tye symbols
+ ;; Now that we have a pre-set compilers to use, convert type symbols
;; into objects for ease of use
(setq comp (if (listp comp)
(mapcar #'symbol-value comp)
diff --git a/lisp/cedet/semantic/analyze/fcn.el b/lisp/cedet/semantic/analyze/fcn.el
index 7f601621156..af7da9cc634 100644
--- a/lisp/cedet/semantic/analyze/fcn.el
+++ b/lisp/cedet/semantic/analyze/fcn.el
@@ -72,7 +72,7 @@ If SEQUENCE is all prototypes, or has no prototypes, get the first one.
Optional TAGCLASS indicates to restrict the return to only
tags of TAGCLASS."
- ;; If there is a srew up and we get just one tag.. massage over it.
+ ;; If there is a screw up and we get just one tag.. massage over it.
(when (semantic-tag-p sequence)
(setq sequence (list sequence)))
diff --git a/lisp/cedet/semantic/scope.el b/lisp/cedet/semantic/scope.el
index 83e7ed66c13..50d7c8adf14 100644
--- a/lisp/cedet/semantic/scope.el
+++ b/lisp/cedet/semantic/scope.el
@@ -822,7 +822,7 @@ hits in order, with the first tag being in the closest scope."
ans)
;; Not a real scope. Our scope calculation analyze parts of
;; what it finds, and needs to pass lists through to do it's work.
- ;; Tread that list as a singly entry.
+ ;; Treat that list as a singly entry.
(if class
(semantic-find-tags-by-class class scope)
scope)
diff --git a/lisp/cedet/semantic/symref/list.el b/lisp/cedet/semantic/symref/list.el
index eacbb6f1f8e..013864f81c0 100644
--- a/lisp/cedet/semantic/symref/list.el
+++ b/lisp/cedet/semantic/symref/list.el
@@ -378,7 +378,8 @@ BUTTON is the button that was clicked."
(defun semantic-symref-list-on-hit-p ()
"Return the line number if the cursor is on a buffer line with a hit.
-Hits are the line of code from the buffer, not the tag summar or file lines."
+Hits are the line of code from the buffer, not the tag summary or
+file lines."
(save-excursion
(end-of-line)
(let* ((ol (car (overlays-at (1- (point)))))) ;; trust this for now