diff options
| author | Eli Zaretskii | 2005-12-03 09:48:08 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-12-03 09:48:08 +0000 |
| commit | d20a1ebb1774129d93265d885ca74b5275eb3c77 (patch) | |
| tree | 8ec57bee7e6fc13f1a8a6467e121b0b5b84880b6 | |
| parent | 6273dc682119226c80cebf63e651908d80324c03 (diff) | |
| download | emacs-d20a1ebb1774129d93265d885ca74b5275eb3c77.tar.gz emacs-d20a1ebb1774129d93265d885ca74b5275eb3c77.zip | |
(lisp-imenu-generic-expression): Fix bug whereby names of length one
or names starting with a symbol-constituent character would not be returned.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2bf21281c42..d9deff1cdea 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2005-12-03 Martin Rudalics <rudalics@gmx.at> (tiny change) | ||
| 2 | |||
| 3 | * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Fix bug | ||
| 4 | whereby names of length one or names starting with a | ||
| 5 | symbol-constituent character would not be returned. | ||
| 6 | |||
| 1 | 2005-12-03 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> | 7 | 2005-12-03 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> |
| 2 | 8 | ||
| 3 | * subr.el (atomic-change-group): Add edebug and indentation spec. | 9 | * subr.el (atomic-change-group): Add edebug and indentation spec. |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 6dd5ffa217f..55c91bb6faf 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -102,7 +102,7 @@ | |||
| 102 | "defsetf" "define-setf-expander" | 102 | "defsetf" "define-setf-expander" |
| 103 | "define-method-combination" | 103 | "define-method-combination" |
| 104 | "defgeneric" "defmethod") t)) | 104 | "defgeneric" "defmethod") t)) |
| 105 | "\\s-+\\(\\sw\\(\\sw\\|\\s_\\)+\\)")) | 105 | "\\s-+\\(\\(\\sw\\|\\s_\\)+\\)")) |
| 106 | 2) | 106 | 2) |
| 107 | (list (purecopy "Variables") | 107 | (list (purecopy "Variables") |
| 108 | (purecopy (concat "^\\s-*(" | 108 | (purecopy (concat "^\\s-*(" |
| @@ -110,7 +110,7 @@ | |||
| 110 | (regexp-opt | 110 | (regexp-opt |
| 111 | '("defvar" "defconst" "defconstant" "defcustom" | 111 | '("defvar" "defconst" "defconstant" "defcustom" |
| 112 | "defparameter" "define-symbol-macro") t)) | 112 | "defparameter" "define-symbol-macro") t)) |
| 113 | "\\s-+\\(\\sw\\(\\sw\\|\\s_\\)+\\)")) | 113 | "\\s-+\\(\\(\\sw\\|\\s_\\)+\\)")) |
| 114 | 2) | 114 | 2) |
| 115 | (list (purecopy "Types") | 115 | (list (purecopy "Types") |
| 116 | (purecopy (concat "^\\s-*(" | 116 | (purecopy (concat "^\\s-*(" |
| @@ -119,7 +119,7 @@ | |||
| 119 | '("defgroup" "deftheme" "deftype" "defstruct" | 119 | '("defgroup" "deftheme" "deftype" "defstruct" |
| 120 | "defclass" "define-condition" "define-widget" | 120 | "defclass" "define-condition" "define-widget" |
| 121 | "defface" "defpackage") t)) | 121 | "defface" "defpackage") t)) |
| 122 | "\\s-+'?\\(\\sw\\(\\sw\\|\\s_\\)+\\)")) | 122 | "\\s-+'?\\(\\(\\sw\\|\\s_\\)+\\)")) |
| 123 | 2)) | 123 | 2)) |
| 124 | 124 | ||
| 125 | "Imenu generic expression for Lisp mode. See `imenu-generic-expression'.") | 125 | "Imenu generic expression for Lisp mode. See `imenu-generic-expression'.") |