(tutorial-directory): Set with eval-at-startup so it gets the right

value in an installed Emacs.
This commit is contained in:
Glenn Morris 2007-08-24 02:57:53 +00:00
parent 5e4599b863
commit 5f5ba82536
2 changed files with 17 additions and 2 deletions

View file

@ -1,8 +1,18 @@
2007-08-24 Glenn Morris <rgm@gnu.org>
* startup.el (tutorial-directory): Set with eval-at-startup so it
gets the right value in an installed Emacs.
2007-08-24 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
* emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
(eldoc-highlight-function-argument): Use it.
2007-08-23 Masatake YAMATO <jet@gyve.org>
* progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight
name of parameters in document body.
2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/bytecomp.el (byte-compile-output-docform)

View file

@ -308,9 +308,14 @@ from being initialized."
(defvar pure-space-overflow nil
"Non-nil if building Emacs overflowed pure space.")
(defconst tutorial-directory (expand-file-name "tutorials" data-directory)
(defvar tutorial-directory nil
"Directory containing the Emacs TUTORIAL files.")
;; Get correct value in a dumped, installed Emacs.
(eval-at-startup
(setq tutorial-directory (file-name-as-directory
(expand-file-name "tutorials" data-directory))))
(defun normal-top-level-add-subdirs-to-load-path ()
"Add all subdirectories of current directory to `load-path'.
More precisely, this uses only the subdirectories whose names