Преглед на файлове

Fix info dir configs

master
10sr преди 6 години
родител
ревизия
1bb74dab32
Подписан от: 10sr GPG ключ ID: 7BEC428194130EB2
променени са 1 файла, в които са добавени 13 реда и са изтрити 4 реда
  1. +13
    -4
      emacs.el

+ 13
- 4
emacs.el Целия файл

@@ -970,10 +970,19 @@ found, otherwise returns nil."
(with-eval-after-load 'text-mode
(define-key text-mode-map (kbd "C-m") 'newline))

(with-eval-after-load 'info
(defvar Info-directory-list nil)
(add-to-list 'Info-directory-list
(expand-file-name "~/.brew/share/info")))
(autoload-eval-lazily 'info nil
(defvar Info-additional-directory-list)
(dolist (dir (directory-files (concat user-emacs-directory
"info")
t
"^[^.].*"))
(when (file-directory-p dir)
(add-to-list 'Info-additional-directory-list
dir)))
(let ((dir (expand-file-name "~/.brew/share/info")))
(when (file-directory-p dir)
(add-to-list 'Info-additional-directory-list
dir))))

(with-eval-after-load 'apropos
(defvar apropos-mode-map (make-sparse-keymap))


Зареждане…
Отказ
Запис