summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-10-06 22:19:23 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-10-06 22:19:23 +0000
commit39250ec387bc9c4f06641ec708dde396723f5182 (patch)
tree6478a8f275ac7cfbfc0f6ff12fc66dbd6797d61b /lisp
parent742c182294f78cd38edf29b44150525a2e235fcc (diff)
downloademacs-39250ec387bc9c4f06641ec708dde396723f5182.tar.gz
(fancy-splash-screens): Use local rather than global map.
Don't use `update-menu-bindings' any more. Get rid of assumptions about keymap representation.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog24
-rw-r--r--lisp/startup.el20
2 files changed, 28 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bce13665692..85acae57ef7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
+
+ * startup.el (fancy-splash-screens): Use local rather than global map.
+ Don't use `update-menu-bindings' any more.
+ Get rid of assumptions about keymap representation.
+
2000-10-06 Dave Love <fx@gnu.org>
* textmodes/fill.el (sentence-end-double-space)
@@ -8,8 +14,7 @@
* net/eudc-vars.el (eudc): Add :version, :link.
- * international/mule-conf.el (file-coding-system-alist): Use \',
- not $.
+ * international/mule-conf.el (file-coding-system-alist): Use \', not $.
* emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
Fix for define-minor-mode.
@@ -23,6 +28,21 @@
image-file-name-regexps.
(image-file-name-extensions): Add pbm.
+2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
+
+ * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
+ and add filename to the names so that diff-mode can jump to source.
+
+ * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
+ (tex-font-lock-keywords, tex-font-lock-keywords-2)
+ (tex-font-lock-keywords-1): Remove.
+ (font-lock-turn-on-thing-lock): Use jit-lock-register.
+ (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
+ (font-lock-default-fontify-region): Expand beg..end correctly
+ when just following a multiline region.
+ (font-lock-fontify-anchored-keywords):
+ Include the anchor text as part of the multiline.
+
2000-10-06 Gerd Moellmann <gerd@gnu.org>
* loadup.el (toplevel): Load `loaddefs' before `help' because the
diff --git a/lisp/startup.el b/lisp/startup.el
index 7ce43e20898..ceb5211d697 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -480,7 +480,8 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(run-hooks 'window-setup-hook))
(or menubar-bindings-done
(if (memq window-system '(x w32))
- (precompute-menubar-bindings)))))))
+ (precompute-menubar-bindings)
+ ))))))
;; Precompute the keyboard equivalents in the menu bar items.
(defun precompute-menubar-bindings ()
@@ -1013,23 +1014,15 @@ where FACE is a valid face specification, as it can be used with
"Display fancy splash screens when Emacs starts."
(setq fancy-splash-help-echo (startup-echo-area-message))
(switch-to-buffer "GNU Emacs")
- (let ((old-global-map (current-global-map))
- (old-busy-cursor display-busy-cursor)
+ (let ((old-busy-cursor display-busy-cursor)
(splash-buffer (current-buffer))
- ;; Don't update menu bindings in the following. Since
- ;; C-x etc. are not bound in the map installed below,
- ;; there wouldn't be any bindings shown otherwise.
- (update-menu-bindings nil)
timer)
(unwind-protect
- (let ((map (nconc (make-sparse-keymap)
- '((t . fancy-splash-default-action))))
+ (let ((map (make-sparse-keymap))
(show-help-function nil))
- (use-global-map map)
- (use-local-map nil)
+ (use-local-map map)
+ (define-key map [t] 'fancy-splash-default-action)
(define-key map [mouse-movement] 'ignore)
- (define-key map [menu-bar] (lookup-key old-global-map [menu-bar]))
- (define-key map [tool-bar] (lookup-key old-global-map [tool-bar]))
(setq cursor-type nil
display-busy-cursor nil
mode-line-format
@@ -1040,7 +1033,6 @@ where FACE is a valid face specification, as it can be used with
(recursive-edit))
(cancel-timer timer)
(remove-hook 'pre-command-hook 'fancy-splash-pre-command)
- (use-global-map old-global-map)
(setq display-busy-cursor old-busy-cursor)
(kill-buffer splash-buffer))))