浏览代码

Fix nyan-mode config

master
10sr 4 年前
父节点
当前提交
e147085703
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. +6
    -4
      emacs.el

+ 6
- 4
emacs.el 查看文件

@@ -793,16 +793,18 @@ THEM are function and its args."
;; default-directory))))
;; "["
(:eval (progn
(set-variable 'nyan-bar-length
(- (window-size nil t) 4)
t)
(list (nyan-create))))
;; "]"
;; (:eval (let ((f (or (buffer-file-name)
;; default-directory)))
;; (when f
;; (abbreviate-file-name f))))
)))
))
(add-hook 'window-configuration-change-hook
(lambda ()
(set-variable 'nyan-bar-length
(- (window-size nil t) 4)
t))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; letters, font-lock mode and fonts


正在加载...
取消
保存