branch: master
commit a67f9ebacd10d44949811fb44335ac5b0b75be8b
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Improve initial value of `LaTeX-math-menu-unicode'
* latex.el (LaTeX-math-menu-unicode): Use `system-type' instead of
`window-system' and cater for macOS. (bug#71467)
---
latex.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/latex.el b/latex.el
index da202219..1fa7cc2f 100644
--- a/latex.el
+++ b/latex.el
@@ -6426,8 +6426,10 @@ Each entry should be a list with upto four elements,
KEY, VALUE,
MENU and CHARACTER, see `LaTeX-math-list' for details.")
(defcustom LaTeX-math-menu-unicode
- (or (string-match "\\<GTK\\>" (emacs-version))
- (eq window-system 'w32))
+ (if (or (string-match "\\<GTK\\>" (emacs-version))
+ (memq system-type '(darwin windows-nt)))
+ t
+ nil)
"Whether the LaTeX menu should try using Unicode for effect."
:type 'boolean
:group 'LaTeX-math)