branch: externals/javaimp commit 55b4553bb2a4a96db2598bdda296cb03e9d677ef Author: Filipp Gunbin <fgun...@fastmail.fm> Commit: Filipp Gunbin <fgun...@fastmail.fm>
Fix single quotes in docstrings --- javaimp-parse.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/javaimp-parse.el b/javaimp-parse.el index b563eb8aa0..315083f5e5 100644 --- a/javaimp-parse.el +++ b/javaimp-parse.el @@ -189,8 +189,8 @@ skipping further backwards is done by the caller." or reaching bob. STOP-P is invoked with two arguments which describe the last -non-ws thing skipped: LAST-WHAT (symbol - either 'list' or -'char') and LAST-POS. If STOP-P returns non-nil, then the return +non-ws thing skipped: LAST-WHAT (symbol - either `list' or +`char') and LAST-POS. If STOP-P returns non-nil, then the return value is also non-nil: either (LAST-WHAT . LAST-POS) if both are non-nil or t. Otherwise the return value is nil. @@ -344,9 +344,9 @@ left." (defun javaimp-scope-defun-p (&optional include-also) "Return predicate which matches defun scopes, which are usually -type definitions. If INCLUDE-ALSO is 'method' then also include - methods. If INCLUDE-ALSO is t, include methods, as well as - local / anonymous classes and their methods." +type definitions. If INCLUDE-ALSO is `method' then also include +methods. If INCLUDE-ALSO is t, include methods, as well as local +/ anonymous classes and their methods." (let ((leaf-types (append '(class interface enum) (when include-also @@ -424,7 +424,7 @@ brace.") :start keyword-start))))) (defun javaimp-parse--scope-simple-stmt (_brace-pos) - "Attempts to parse 'simple-statement' scope. Currently block + "Attempts to parse `simple-statement' scope. Currently block lambdas are also recognized as such." (javaimp-parse--skip-back-until) (cond ((looking-back "->" (- (point) 2)) @@ -461,7 +461,7 @@ lambdas are also recognized as such." :start start)))))) (defun javaimp-parse--scope-method-or-stmt (brace-pos) - "Attempts to parse 'method' or 'statement' scope." + "Attempts to parse `method' or `statement' scope." (let (;; take the closest preceding closing paren as the bound (throws-search-bound (save-excursion (when (javaimp-parse--rsb-keyword ")" nil t 1) @@ -505,7 +505,7 @@ lambdas are also recognized as such." :start (point))))))))) (defun javaimp-parse--scope-array-init (_brace-pos) - "Attempts to parse 'array-init' scope." + "Attempts to parse `array-init' scope." (javaimp-parse--skip-back-until) (let (decl-prefix-beg) (when (or @@ -525,7 +525,7 @@ lambdas are also recognized as such." Returns most nested one, with its parents sets accordingly. If COUNT is nil then goes all the way up. -Examines and sets property 'javaimp-parse-scope' at each scope's +Examines and sets property `javaimp-parse-scope' at each scope's open brace. If neither of functions in `javaimp-parse--scope-hook' return non-nil then a dummy scope is created, with `javaimp-scope-type' set to nil. @@ -693,7 +693,7 @@ at the end of directive." . CLASS-ALIST). REGION, a cons of two positions, spans from bol of first import to eol of last import. CLASS-ALIST contains elements (CLASS . TYPE), where CLASS is a string and TYPE is -either of symbols `normal' or 'static'." +either of symbols `normal' or `static'." (javaimp-parse--all-scopes) (goto-char (point-max)) (let (start-pos end-pos class-alist)