summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic
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/semantic
parentc116d9f74c8fc81a7e98b1519fa300998a8a15c3 (diff)
downloademacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.tar.gz
emacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.tar.bz2
emacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.zip
; Fix typos
Diffstat (limited to 'lisp/cedet/semantic')
-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
3 files changed, 4 insertions, 3 deletions
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