Changeset 96526 for trunk/dports/aqua


Ignore:
Timestamp:
Aug 13, 2012, 8:53:15 AM (7 years ago)
Author:
hum@…
Message:

emacs-app: modify site-start.el to append ${prefix}/share/emacs/site-lisp and its subdirectories to load-path and ${prefix}/share/info to Info-directory-list; see #32146, #32148.

Location:
trunk/dports/aqua/emacs-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/emacs-app/Portfile

    r96454 r96526  
    66name                emacs-app
    77version             24.1
     8revision            1
    89categories          aqua editors
    910maintainers         css hum openmaintainer
  • trunk/dports/aqua/emacs-app/files/site-start.el

    r78120 r96526  
     1;; load-path contains ${prefix}/share/emacs/site-lisp and its subdirecotries.
     2;; See #12115, #29232, #32146.
    13(setq load-path (cons "__PREFIX__/share/emacs/site-lisp" load-path))
    2 (if (file-readable-p "__PREFIX__/share/emacs/site-lisp/subdirs.el")
     4(if (file-readable-p "__PREFIX__/share/emacs/site-lisp")
    35    (let ((default-directory "__PREFIX__/share/emacs/site-lisp"))
    4       (load "__PREFIX__/share/emacs/site-lisp/subdirs.el")))
     6      (if (file-readable-p "__PREFIX__/share/emacs/site-lisp/subdirs.el")
     7          (load "__PREFIX__/share/emacs/site-lisp/subdirs.el")
     8        (if (fboundp 'normal-top-level-add-subdirs-to-load-path)
     9            (normal-top-level-add-subdirs-to-load-path)))))
     10
     11;; Info-directory-list contains ${prefix}/share/info. See #32148.
     12(setq Info-default-directory-list (cons "__PREFIX__/share/info" Info-default-directory-list))
Note: See TracChangeset for help on using the changeset viewer.