Fix eww error
This commit is contained in:
6
init.el
6
init.el
@ -589,14 +589,16 @@ printed representation (via `princ') set as the new value for the key."
|
||||
(cfg-dir (my/eww-current-config-dir)))
|
||||
(when cfg-dir
|
||||
(setq args (nconc (list "-c" cfg-dir) args)))
|
||||
(apply 'call-process "eww" nil 0 nil args)))
|
||||
(ignore-errors
|
||||
(apply 'call-process "eww" nil 0 nil args))))
|
||||
(defun my/eww-poll-variables (&rest vars)
|
||||
"Poll each variable in VARS, which is a lists of strings or symbols."
|
||||
(let* ((args (cons "poll" (mapcar #'(lambda (elt) (format "%s" elt)) vars)))
|
||||
(cfg-dir (my/eww-current-config-dir)))
|
||||
(when cfg-dir
|
||||
(setq args (nconc (list "-c" cfg-dir) args)))
|
||||
(apply 'call-process "eww" nil 0 nil args)))
|
||||
(ignore-errors
|
||||
(apply 'call-process "eww" nil 0 nil args))))
|
||||
|
||||
;; mozc
|
||||
(require 'mozc nil t)
|
||||
|
||||
Reference in New Issue
Block a user