Fix: double check if mac trigger symbol is available

This commit is contained in:
João Távora 2012-12-22 18:18:04 +00:00
parent 1db685c480
commit 9b31880ed1

View File

@ -311,8 +311,9 @@ Any other non-nil value, every submenu is listed."
(const :tag "No menu" nil))
:group 'yasnippet)
(defcustom yas-trigger-symbol (if (eq window-system 'mac)
(char-to-string ?\x21E5) ;; little ->| sign
(defcustom yas-trigger-symbol (or (and (eq window-system 'mac)
(ignore-errors
(char-to-string ?\x21E5))) ;; little ->| sign
" =>")
"The text that will be used in menu to represent the trigger."
:type 'string