[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 65330be8: ; Trivial cleanups
From: |
Ikumi Keita |
Subject: |
master 65330be8: ; Trivial cleanups |
Date: |
Sat, 12 Aug 2023 01:32:37 -0400 (EDT) |
branch: master
commit 65330be8e6d7a8626033f1c17c3623c8ebf2b340
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
; Trivial cleanups
* context.el (ConTeXt-mode-common-initialization): Use #' rather than
' to quote function name.
(ConTeXt-mode-common-initialization):
* tex-jp.el:
Fix and add comments, doc strings.
---
context.el | 5 +++--
tex-jp.el | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/context.el b/context.el
index 40214aad..8fb6d3ea 100644
--- a/context.el
+++ b/context.el
@@ -312,7 +312,7 @@ The following variables can be set to customize:
;; (May 3, 2023) The above comment is wrong. Here "large" refers to
;; coarseness of document structure grouping. That is, "chapter" is
;; larger than "section", "section" is larger than "subsection" etc.
-;; On the ohter hand, the corresponding levels are numbered in the
+;; On the other hand, the corresponding levels are numbered in the
;; reversed order. That is, "chapter" is level 1, "section" is level
;; 2 etc. Hence the largest _section_ has the smallest _level_.
;; That's the reason we use `max' rather than `min' here.
@@ -1879,6 +1879,7 @@ that is, you do _not_ have to cater for this yourself by
adding \\\\\\=' or $."
(use-local-map ConTeXt-mode-map)
(setq ConTeXt-menu-changed t)
+ ;; FIXME: Isn't `activate-menubar-hook' obsolete?
(add-hook 'activate-menubar-hook #'ConTeXt-menu-update nil t)
(setq-local beginning-of-defun-function #'ConTeXt-find-matching-start)
@@ -1886,7 +1887,7 @@ that is, you do _not_ have to cater for this yourself by
adding \\\\\\=' or $."
;; Outline support
(require 'outline)
- (set (make-local-variable 'outline-level) 'ConTeXt-outline-level)
+ (set (make-local-variable 'outline-level) #'ConTeXt-outline-level)
(set (make-local-variable 'outline-regexp) (ConTeXt-outline-regexp t))
;;(make-local-variable 'outline-heading-end-regexp)
(setq TeX-header-end (ConTeXt-header-end)
diff --git a/tex-jp.el b/tex-jp.el
index 8428c379..9220dd0f 100644
--- a/tex-jp.el
+++ b/tex-jp.el
@@ -497,7 +497,7 @@ Set `japanese-TeX-mode' to t, and enter `TeX-latex-mode'."
(defun japanese-LaTeX-guess-engine ()
"Guess Japanese TeX engine and set it to `TeX-engine'.
-Document class and its option is considered in the guess. Do not
+Document class and its option are taken into account. Do not
overwrite the value already set locally."
;; `TeX-engine' may be set by the file local variable or by the menu
;; Command->TeXing Options manually. Don't override the user
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 65330be8: ; Trivial cleanups,
Ikumi Keita <=