diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-27 23:41:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-27 23:41:11 +0000 |
commit | 8027f287eb46d487a0e379911bdbc4d6c2bf44e4 (patch) | |
tree | b6e3aeebab3f5c2560ae1ab892b76cca269eb05e /Master/texmf-dist/asymptote/asy-mode.el | |
parent | a4855ce49e2101557c17547c2d22594e1b2a215c (diff) |
asymptote 2.78 support files
git-svn-id: svn://tug.org/texlive/trunk@62265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/asy-mode.el')
-rw-r--r-- | Master/texmf-dist/asymptote/asy-mode.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/asymptote/asy-mode.el b/Master/texmf-dist/asymptote/asy-mode.el index ec3a3746d74..9f6eda793c7 100644 --- a/Master/texmf-dist/asymptote/asy-mode.el +++ b/Master/texmf-dist/asymptote/asy-mode.el @@ -110,7 +110,7 @@ Some variables can be customized: M-x customize-group <RET> asymptote <RET>." (require 'font-lock) (require 'cc-mode) -(require 'cl) ;; Common Lisp extensions for Emacs +(require 'cl-lib) ;; Common Lisp extensions for Emacs (require 'compile) (require 'wid-edit) @@ -637,6 +637,9 @@ Fields are defined as 'field1: field2.field3:field4' . Field=0 <-> all fields" (if (locate-library "two-mode-mode") (progn +;; patch two-mode-mode.el for Emacs >= 23. + (defun make-local-hook (func)) + (defvar lasy-fontify-asy-p nil "Variable to communicate with `font-lock-unfontify-region'. Internal use, don't set in any fashion.") @@ -682,7 +685,8 @@ the current mode." (setq lasy-fontify-asy-p (eq func 'asy-mode)) (funcall func) (hack-local-variables) - (two-mode-mode-setup) +;; avoid infinite loop in two-mode-mode +;; (two-mode-mode-setup) (if two-mode-switch-hook (run-hooks 'two-mode-switch-hook)) (if (eq font-lock-mode t) |