浏览代码

Fix compile warnings

master
10sr 3 年前
父节点
当前提交
8d3aeedc27
签署人:: 10sr GPG 密钥 ID: 7BEC428194130EB2
共有 1 个文件被更改,包括 9 次插入4 次删除
  1. +9
    -4
      emacs.el

+ 9
- 4
emacs.el 查看文件

@@ -450,10 +450,15 @@ Otherwize hook it."

;; (global-set-key (kbd "C-s") 'isearch-forward-regexp)
;; (global-set-key (kbd "C-r") 'isearch-backward-regexp)
(if (eval-and-compile (require 'prescient nil t))
(set-variable 'search-default-mode
(lambda (orig lax)
(prescient-fuzzy-regexp orig)))
(if (locate-library "prescient")
(progn
(declare-function prescient-fuzzy-regexp
"prescient")
(autoload 'prescient-fuzzy-regexp
"prescient")
(set-variable 'search-default-mode
(lambda (orig lax)
(prescient-fuzzy-regexp orig))))
(set-variable 'search-default-mode t))
;; (set-variable 'search-whitespace-regexp ".*?")
;; (set-variable 'isearch-regexp-lax-whitespace t)


正在加载...
取消
保存