summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-10-12 13:39:32 +0000
committerDave Love <fx@gnu.org>2000-10-12 13:39:32 +0000
commita622451fdc808f526bd7b1bb49d9ca5689486b66 (patch)
tree991d3cf971843a46f36b8f7d162b2d8714e037c4 /lisp/startup.el
parent8661c643dbe2480e3d9faaec05db96297cca5198 (diff)
downloademacs-a622451fdc808f526bd7b1bb49d9ca5689486b66.tar.gz
(normal-top-level-add-subdirs-to-load-path): Use
character class, not ASCII when matching file names. (fancy-splash-head): Add trailing slash to URL. (command-line): Don't require XPM support for toolbar.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index a6aae252045..4e478f5882f 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -360,7 +360,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(cons attrs normal-top-level-add-subdirs-inode-list))
(while contents
(unless (member (car contents) '("." ".." "RCS" "CVS"))
- (when (and (string-match "\\`[a-zA-Z0-9]" (car contents))
+ (when (and (string-match "\\`[[:alnum:]]" (car contents))
;; Avoid doing a `stat' when it isn't necessary
;; because that can cause trouble when an NFS server
;; is down.
@@ -656,7 +656,6 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
;; If frame was created with a tool bar, switch tool-bar-mode on.
(when (and (not noninteractive)
(memq window-system '(x w32))
- (image-type-available-p 'xpm)
(> (frame-parameter nil 'tool-bar-lines) 0))
(tool-bar-mode t))
@@ -943,11 +942,11 @@ where FACE is a valid face specification, as it can be used with
;; Insert the image with a help-echo and a keymap.
(let ((map (make-sparse-keymap))
- (help-echo "mouse-2: browse http://www.gnu.org"))
+ (help-echo "mouse-2: browse http://www.gnu.org/"))
(define-key map [mouse-2]
(lambda ()
(interactive)
- (browse-url "http://www.gnu.org")
+ (browse-url "http://www.gnu.org/")
(throw 'exit nil)))
(define-key map [down-mouse-2] 'ignore)
(define-key map [up-mouse-2] 'ignore)