mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-15 14:03:04 +00:00
Fix: double check if mac trigger symbol is available
This commit is contained in:
parent
1db685c480
commit
9b31880ed1
@ -311,8 +311,9 @@ Any other non-nil value, every submenu is listed."
|
|||||||
(const :tag "No menu" nil))
|
(const :tag "No menu" nil))
|
||||||
:group 'yasnippet)
|
:group 'yasnippet)
|
||||||
|
|
||||||
(defcustom yas-trigger-symbol (if (eq window-system 'mac)
|
(defcustom yas-trigger-symbol (or (and (eq window-system 'mac)
|
||||||
(char-to-string ?\x21E5) ;; little ->| sign
|
(ignore-errors
|
||||||
|
(char-to-string ?\x21E5))) ;; little ->| sign
|
||||||
" =>")
|
" =>")
|
||||||
"The text that will be used in menu to represent the trigger."
|
"The text that will be used in menu to represent the trigger."
|
||||||
:type 'string
|
:type 'string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user