aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-08-24 02:57:53 +0000
committerGlenn Morris2007-08-24 02:57:53 +0000
commit5f5ba82536858ccac91a7dff38d95e75b23c5e55 (patch)
treebbe5cff3d0a7964eddaf1eb80ae49608f5e9bdb2
parent5e4599b863c0ef54d4a170f6e2c0e70f21919f30 (diff)
downloademacs-5f5ba82536858ccac91a7dff38d95e75b23c5e55.tar.gz
emacs-5f5ba82536858ccac91a7dff38d95e75b23c5e55.zip
(tutorial-directory): Set with eval-at-startup so it gets the right
value in an installed Emacs.
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/startup.el7
2 files changed, 17 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b6440133395..bfeef25ffcb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,8 +1,18 @@
12007-08-24 Glenn Morris <rgm@gnu.org>
2
3 * startup.el (tutorial-directory): Set with eval-at-startup so it
4 gets the right value in an installed Emacs.
5
62007-08-24 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
7
8 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
9 (eldoc-highlight-function-argument): Use it.
10
12007-08-23 Masatake YAMATO <jet@gyve.org> 112007-08-23 Masatake YAMATO <jet@gyve.org>
2 12
3 * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight 13 * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight
4 name of parameters in document body. 14 name of parameters in document body.
5 15
62007-08-23 Stefan Monnier <monnier@iro.umontreal.ca> 162007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7 17
8 * emacs-lisp/bytecomp.el (byte-compile-output-docform) 18 * emacs-lisp/bytecomp.el (byte-compile-output-docform)
diff --git a/lisp/startup.el b/lisp/startup.el
index d791a0f6e5a..30d058afabc 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -308,9 +308,14 @@ from being initialized."
308(defvar pure-space-overflow nil 308(defvar pure-space-overflow nil
309 "Non-nil if building Emacs overflowed pure space.") 309 "Non-nil if building Emacs overflowed pure space.")
310 310
311(defconst tutorial-directory (expand-file-name "tutorials" data-directory) 311(defvar tutorial-directory nil
312 "Directory containing the Emacs TUTORIAL files.") 312 "Directory containing the Emacs TUTORIAL files.")
313 313
314;; Get correct value in a dumped, installed Emacs.
315(eval-at-startup
316 (setq tutorial-directory (file-name-as-directory
317 (expand-file-name "tutorials" data-directory))))
318
314(defun normal-top-level-add-subdirs-to-load-path () 319(defun normal-top-level-add-subdirs-to-load-path ()
315 "Add all subdirectories of current directory to `load-path'. 320 "Add all subdirectories of current directory to `load-path'.
316More precisely, this uses only the subdirectories whose names 321More precisely, this uses only the subdirectories whose names