Fix some stuff
This commit is contained in:
@@ -657,11 +657,23 @@ directory. Otherwise, run `find-file' on that file."
|
|||||||
(require 'mozc-posframe)
|
(require 'mozc-posframe)
|
||||||
(setq mozc-candidate-style 'posframe))
|
(setq mozc-candidate-style 'posframe))
|
||||||
|
|
||||||
;; (defun my/-fix-mozc-face (face)
|
(face-spec-set 'mozc-cand-overlay-focused-face
|
||||||
;; "Remove the (type graphics x w32) requirement for the mozc face FACE."
|
'((t :foreground unspecified :background unspecified
|
||||||
;; (let ((spec (custom-face-get-current-spec-unfiltered face)))
|
:inverse-video unspecified :inherit region)))
|
||||||
;; (cl-loop for ent in spec
|
(face-spec-set 'mozc-cand-overlay-odd-face
|
||||||
;; for )))
|
'((t :foreground unspecified :background unspecified
|
||||||
|
:inverse-video unspecified :underline unspecified
|
||||||
|
:inherit default)))
|
||||||
|
(face-spec-set 'mozc-cand-overlay-even-face
|
||||||
|
'((t :foreground unspecified :background unspecified
|
||||||
|
:inverse-video unspecified :underline unspecified
|
||||||
|
:inherit default)))
|
||||||
|
(face-spec-set 'mozc-cand-overlay-footer-face
|
||||||
|
'((t :foreground unspecified :background unspecified
|
||||||
|
:inverse-video unspecified :inherit mode-line)))
|
||||||
|
(face-spec-set 'mozc-preedit-selected-face
|
||||||
|
'((t :inverse-video unspecified :underline t
|
||||||
|
:inherit region)))
|
||||||
|
|
||||||
;; mozc status bar stuff
|
;; mozc status bar stuff
|
||||||
(defun my/-update-waybar-fcitx-state ()
|
(defun my/-update-waybar-fcitx-state ()
|
||||||
@@ -3796,10 +3808,10 @@ buffers `helpful--sym' to `my/helpful-symbol-history'."
|
|||||||
"Descrive the plist of SYMBOL in a buffer."
|
"Descrive the plist of SYMBOL in a buffer."
|
||||||
(interactive (list (intern (completing-read
|
(interactive (list (intern (completing-read
|
||||||
"Symbol: "
|
"Symbol: "
|
||||||
(let ((syms))
|
obarray
|
||||||
(mapatoms (##push (symbol-name %) syms))
|
nil t nil t
|
||||||
syms)
|
(and-let* ((sym (symbol-at-point)))
|
||||||
nil t))))
|
(symbol-name sym))))))
|
||||||
(with-current-buffer (get-buffer-create "*describe-symbol-plist*")
|
(with-current-buffer (get-buffer-create "*describe-symbol-plist*")
|
||||||
(unless (derived-mode-p 'special-mode)
|
(unless (derived-mode-p 'special-mode)
|
||||||
(special-mode))
|
(special-mode))
|
||||||
|
|||||||
Reference in New Issue
Block a user