branch: master commit daaff30b4aa6efce191460d6228be99fc0be4ec1 Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
Follow elisp quoting convention * preview.el.in (preview-toggle): * style/graphicx.el (LaTeX-arg-graphicx-includegraphics-key-val): * tex-fold.el (TeX-fold-region-macro-or-env): * tex.el (TeX-search-unescaped): Quote symbols in doc strings with `this style'. --- preview.el.in | 2 +- style/graphicx.el | 4 ++-- tex-fold.el | 4 ++-- tex.el | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/preview.el.in b/preview.el.in index 253900df..cefa807e 100644 --- a/preview.el.in +++ b/preview.el.in @@ -1945,7 +1945,7 @@ definition of OV, AFTER-CHANGE, BEG, END and LENGTH." (defun preview-toggle (ov &optional arg event) "Toggle visibility of preview overlay OV. ARG can be one of the following: t displays the overlay, -nil displays the underlying text, and \\='toggle toggles. +nil displays the underlying text, and `toggle' toggles. If EVENT is given, it indicates the window where the event occured, either by being a mouse event or by directly being the window in question. This may be used for cursor restoration diff --git a/style/graphicx.el b/style/graphicx.el index e9e42011..5704ecf1 100644 --- a/style/graphicx.el +++ b/style/graphicx.el @@ -89,8 +89,8 @@ Temporarily remove \"space\" from `crm-local-completion-map' and `minibuffer-local-completion-map' in order to be able to insert spaces conveniently. -If `TeX-engine' is set to symbol \\='default (while -`TeX-PDF-from-DVI' is set to nil) or \\='luatex and `TeX-PDF-mode' +If `TeX-engine' is set to symbol `default' (while +`TeX-PDF-from-DVI' is set to nil) or `luatex' and `TeX-PDF-mode' is non-nil, add the keys \"page\" and \"pagebox\" to list of key-val's." (let ((crm-local-completion-map diff --git a/tex-fold.el b/tex-fold.el index f8853457..6f74f75a 100644 --- a/tex-fold.el +++ b/tex-fold.el @@ -311,8 +311,8 @@ and `TeX-fold-math-spec-list', and environments in `TeX-fold-env-spec-list'." (defun TeX-fold-region-macro-or-env (start end type) "Fold all items of type TYPE in region from START to END. -TYPE can be one of the symbols \\='env for environments, \\='macro -for macros and \\='math for math macros." +TYPE can be one of the symbols `env' for environments, `macro' +for macros and `math' for math macros." (save-excursion (let (fold-list item-list regexp) (dolist (item (cond ((eq type 'env) TeX-fold-env-spec-list-internal) diff --git a/tex.el b/tex.el index bd1454f6..ea5fbbda 100644 --- a/tex.el +++ b/tex.el @@ -5674,7 +5674,7 @@ characters." (defun TeX-search-unescaped (pattern &optional direction regexp-flag bound noerror) "Search for unescaped PATTERN in a certain DIRECTION. -DIRECTION can be indicated by the symbols \\='forward and \\='backward. +DIRECTION can be indicated by the symbols `forward' and `backward'. If DIRECTION is omitted, a forward search is carried out. If REGEXP-FLAG is non-nil, PATTERN may be a regular expression, otherwise a string.