emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 65330be8e6 02/37: ; Trivial cleanups


From: Tassilo Horn
Subject: [elpa] externals/auctex 65330be8e6 02/37: ; Trivial cleanups
Date: Wed, 11 Oct 2023 03:41:54 -0400 (EDT)

branch: externals/auctex
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 40214aad4d..8fb6d3ea98 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 8428c3793a..9220dd0f2f 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]