0001-Prefer-usr-share-info-emacs-24-over-usr-share-info.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. From 7db729d8e9d10eb94ab851336d460444182f90d4 Mon Sep 17 00:00:00 2001
  2. From: Rob Browning <rlb@defaultvalue.org>
  3. Date: Mon, 4 Apr 2011 22:46:21 -0500
  4. Subject: Prefer /usr/share/info/emacs-24 over /usr/share/info.
  5. Emacs will prefer /usr/share/info/emacs-24 over /usr/share/info.
  6. The value of Info-default-directory-list has been augmented via
  7. site-init.el to include /usr/share/info/emacs-24 before
  8. /usr/share/info.
  9. ---
  10. lisp/site-init.el | 11 +++++++++++
  11. 1 file changed, 11 insertions(+)
  12. create mode 100644 lisp/site-init.el
  13. diff --git a/lisp/site-init.el b/lisp/site-init.el
  14. new file mode 100644
  15. index 0000000..ab3396c
  16. --- /dev/null
  17. +++ b/lisp/site-init.el
  18. @@ -0,0 +1,11 @@
  19. +
  20. +;; Add the flavor specific directory for Debian.
  21. +(setq Info-default-directory-list
  22. + (let ((result nil)
  23. + (found-match nil))
  24. + (dolist (elt Info-default-directory-list (nreverse result))
  25. + (if (and (not found-match) (equal elt "/usr/share/info/"))
  26. + (progn
  27. + (push "/usr/share/info/emacs-24" result)
  28. + (setq found-match t)))
  29. + (push elt result))))