aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/apropos.el7
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 78643a290b2..28146912eca 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12003-08-02 Andreas Schwab <schwab@suse.de> 12003-08-02 Andreas Schwab <schwab@suse.de>
2 2
3 * apropos.el (apropos-words-to-regexp): Only add `wild' if `words'
4 has more than one member.
5
3 * progmodes/sh-script.el (sh-mode): Don't set mode-class property. 6 * progmodes/sh-script.el (sh-mode): Don't set mode-class property.
4 7
52003-08-01 Vinicius Jose Latorre <viniciusjl@ig.com.br> 82003-08-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 74b0f3fa838..677c43b756d 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -1,6 +1,6 @@
1;;; apropos.el --- apropos commands for users and programmers 1;;; apropos.el --- apropos commands for users and programmers
2 2
3;; Copyright (C) 1989, 1994, 1995, 2001, 2002 Free Software Foundation, Inc. 3;; Copyright (C) 1989, 1994, 1995, 2001, 2002, 2003 Free Software Foundation, Inc.
4 4
5;; Author: Joe Wells <jbw@bigbird.bu.edu> 5;; Author: Joe Wells <jbw@bigbird.bu.edu>
6;; Rewritten: Daniel Pfeiffer <occitan@esperanto.org> 6;; Rewritten: Daniel Pfeiffer <occitan@esperanto.org>
@@ -248,9 +248,10 @@ before finding a label."
248 "Make regexp matching any two of the words in WORDS." 248 "Make regexp matching any two of the words in WORDS."
249 (concat "\\(" 249 (concat "\\("
250 (mapconcat 'identity words "\\|") 250 (mapconcat 'identity words "\\|")
251 "\\)" wild 251 "\\)"
252 (if (cdr words) 252 (if (cdr words)
253 (concat "\\(" 253 (concat wild
254 "\\("
254 (mapconcat 'identity words "\\|") 255 (mapconcat 'identity words "\\|")
255 "\\)") 256 "\\)")
256 ""))) 257 "")))