aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet/srecode
diff options
context:
space:
mode:
authorPaul Eggert2019-11-11 10:30:13 -0800
committerPaul Eggert2019-11-11 10:32:53 -0800
commit6b4a97c1c78f39ce890d100acceceb652d14e20d (patch)
tree9d9f8347a952226adcd73680ed89c5679d6e5326 /lisp/cedet/srecode
parent269796288a43520a1dcc481337af472d086faaa4 (diff)
downloademacs-6b4a97c1c78f39ce890d100acceceb652d14e20d.tar.gz
emacs-6b4a97c1c78f39ce890d100acceceb652d14e20d.zip
Fix some quoting glitches in doc strings
Diffstat (limited to 'lisp/cedet/srecode')
-rw-r--r--lisp/cedet/srecode/dictionary.el2
-rw-r--r--lisp/cedet/srecode/document.el4
-rw-r--r--lisp/cedet/srecode/insert.el4
-rw-r--r--lisp/cedet/srecode/semantic.el8
4 files changed, 9 insertions, 9 deletions
diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el
index a0205177caa..de6f21be094 100644
--- a/lisp/cedet/srecode/dictionary.el
+++ b/lisp/cedet/srecode/dictionary.el
@@ -560,7 +560,7 @@ where
560 560
561ENTRY_N = (NAME ENTRY_N_1 ENTRY_N_2 ...) | TAG 561ENTRY_N = (NAME ENTRY_N_1 ENTRY_N_2 ...) | TAG
562 562
563where TAG is a semantic tag of class 'variable. The (NAME ... ) 563where TAG is a semantic tag of class `variable'. The (NAME ... )
564form creates a child dictionary which is stored under the name 564form creates a child dictionary which is stored under the name
565NAME. The TAG form creates a value entry or section dictionary 565NAME. The TAG form creates a value entry or section dictionary
566entry whose name is the name of the tag. 566entry whose name is the name of the tag.
diff --git a/lisp/cedet/srecode/document.el b/lisp/cedet/srecode/document.el
index ad15b3ef6fd..21acc61fef2 100644
--- a/lisp/cedet/srecode/document.el
+++ b/lisp/cedet/srecode/document.el
@@ -385,7 +385,7 @@ It is assumed that the comment occurs just in front of FCN-IN."
385 385
386 (when (or (not fcn-in) 386 (when (or (not fcn-in)
387 (not (semantic-tag-of-class-p fcn-in 'function))) 387 (not (semantic-tag-of-class-p fcn-in 'function)))
388 (error "No tag of class 'function to insert comment for")) 388 (error "No tag of class `function' to insert comment for"))
389 389
390 (if (not (eq (current-buffer) (semantic-tag-buffer fcn-in))) 390 (if (not (eq (current-buffer) (semantic-tag-buffer fcn-in)))
391 (error "Only insert comments for tags in the current buffer")) 391 (error "Only insert comments for tags in the current buffer"))
@@ -496,7 +496,7 @@ It is assumed that the comment occurs just after VAR-IN."
496 496
497 (when (or (not var-in) 497 (when (or (not var-in)
498 (not (semantic-tag-of-class-p var-in 'variable))) 498 (not (semantic-tag-of-class-p var-in 'variable)))
499 (error "No tag of class 'variable to insert comment for")) 499 (error "No tag of class `variable' to insert comment for"))
500 500
501 (if (not (eq (current-buffer) (semantic-tag-buffer var-in))) 501 (if (not (eq (current-buffer) (semantic-tag-buffer var-in)))
502 (error "Only insert comments for tags in the current buffer")) 502 (error "Only insert comments for tags in the current buffer"))
diff --git a/lisp/cedet/srecode/insert.el b/lisp/cedet/srecode/insert.el
index 4e25e1f5ca0..455977bbe03 100644
--- a/lisp/cedet/srecode/insert.el
+++ b/lisp/cedet/srecode/insert.el
@@ -373,8 +373,8 @@ Can't be blank, or it might be used by regular variable insertion.")
373 :initarg :where 373 :initarg :where
374 :documentation 374 :documentation
375 "This should be `begin' or `end', indicating where to insert a CR. 375 "This should be `begin' or `end', indicating where to insert a CR.
376When `begin', insert a CR if not at 'bol'. 376When `begin', insert a CR if not at `bol'.
377When `end', insert a CR if not at 'eol'.") 377When `end', insert a CR if not at `eol'.")
378 ;; @TODO - Add slot and control for the number of blank 378 ;; @TODO - Add slot and control for the number of blank
379 ;; lines before and after point. 379 ;; lines before and after point.
380 ) 380 )
diff --git a/lisp/cedet/srecode/semantic.el b/lisp/cedet/srecode/semantic.el
index 344b908da32..5195016e22a 100644
--- a/lisp/cedet/srecode/semantic.el
+++ b/lisp/cedet/srecode/semantic.el
@@ -210,7 +210,7 @@ variable default values, and other things."
210;;; :tagtype ARGUMENT HANDLING 210;;; :tagtype ARGUMENT HANDLING
211;; 211;;
212;; When a :tagtype argument is required, identify the current tag, of 212;; When a :tagtype argument is required, identify the current tag, of
213;; cf class 'type. Apply those parameters to the dictionary. 213;; class 'type'. Apply those parameters to the dictionary.
214 214
215(defun srecode-semantic-handle-:tagtype (dict) 215(defun srecode-semantic-handle-:tagtype (dict)
216 "Add macros into the dictionary DICT based on a tag of class type at point. 216 "Add macros into the dictionary DICT based on a tag of class type at point.
@@ -218,7 +218,7 @@ Assumes the cursor is in a tag of class type. If not, throw an error."
218 (let ((typetag (or srecode-semantic-selected-tag 218 (let ((typetag (or srecode-semantic-selected-tag
219 (semantic-current-tag-of-class 'type)))) 219 (semantic-current-tag-of-class 'type))))
220 (when (not typetag) 220 (when (not typetag)
221 (error "Cursor is not in a TAG of class 'type")) 221 (error "Cursor is not in a TAG of class `type'"))
222 (srecode-semantic-apply-tag-to-dict 222 (srecode-semantic-apply-tag-to-dict
223 typetag 223 typetag
224 dict))) 224 dict)))
@@ -285,8 +285,8 @@ CTXT is the pre-calculated context."
285 "Insert TAG into a buffer using srecode templates at point. 285 "Insert TAG into a buffer using srecode templates at point.
286 286
287Optional STYLE-OPTION is a list of minor configuration of styles, 287Optional STYLE-OPTION is a list of minor configuration of styles,
288such as the symbol 'prototype for prototype functions, or 288such as the symbol `prototype' for prototype functions, or
289'system for system includes, and 'doxygen, for a doxygen style 289`system' for system includes, and `doxygen', for a doxygen style
290comment. 290comment.
291 291
292Optional third argument POINT-INSERT-FCN is a hook that is run after 292Optional third argument POINT-INSERT-FCN is a hook that is run after