diff options
| author | Glenn Morris | 2014-08-14 21:34:06 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-08-14 21:34:06 -0700 |
| commit | ed30c57cc9cdcf8ddc169f4b042146db9b3b7179 (patch) | |
| tree | 30e07052f35dcfb7c4616a30c8e9bdebb8a3526c /lisp | |
| parent | b9558683e3339fb95ff9cad1ced705f525d86d7a (diff) | |
| parent | 315865d31dde9f0771f96a98a4562bd282aa21ea (diff) | |
| download | emacs-ed30c57cc9cdcf8ddc169f4b042146db9b3b7179.tar.gz emacs-ed30c57cc9cdcf8ddc169f4b042146db9b3b7179.zip | |
Merge from emacs-24; up to 2014-06-29T18:32:35Z!michael.albinus@gmx.de
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/speedbar.el | 9 | ||||
| -rw-r--r-- | lisp/subr.el | 5 |
3 files changed, 21 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 713a1aab838..f96921d4329 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2014-08-15 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * speedbar.el (speedbar-generic-list-tag-p): Allow special | ||
| 4 | elements from imenu. | ||
| 5 | |||
| 6 | 2014-08-15 Glenn Morris <rgm@gnu.org> | ||
| 7 | |||
| 8 | * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual. | ||
| 9 | |||
| 1 | 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org> | 10 | 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org> |
| 2 | 11 | ||
| 3 | * progmodes/compile.el (compilation-error-regexp-alist-alist): | 12 | * progmodes/compile.el (compilation-error-regexp-alist-alist): |
| @@ -7,7 +16,7 @@ | |||
| 7 | 16 | ||
| 8 | * progmodes/gud.el (guiler): New function. Starts the Guile REPL; | 17 | * progmodes/gud.el (guiler): New function. Starts the Guile REPL; |
| 9 | add Guile debugger support for GUD. | 18 | add Guile debugger support for GUD. |
| 10 | 19 | ||
| 11 | 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca> | 20 | 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca> |
| 12 | 21 | ||
| 13 | * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function. | 22 | * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function. |
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 55e86e7fef3..11d2d435383 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el | |||
| @@ -2111,9 +2111,10 @@ cell of the form ( 'DIRLIST . 'FILELIST )." | |||
| 2111 | ;; in order to make it look nice. | 2111 | ;; in order to make it look nice. |
| 2112 | ;; | 2112 | ;; |
| 2113 | ;; A generic list is of the form: | 2113 | ;; A generic list is of the form: |
| 2114 | ;; ( ("name" . marker-or-number) <-- one tag at this level | 2114 | ;; ( ("name" . marker-or-number) <-- one tag at this level |
| 2115 | ;; ("name" ("name" . mon) ("name" . mon) ) <-- one group of tags | 2115 | ;; ("name" marker-or-number goto-fun . args) <-- one tag at this level |
| 2116 | ;; ("name" mon ("name" . mon) ) <-- group w/ a position and tags | 2116 | ;; ("name" ("name" . mon) ("name" . mon) ) <-- one group of tags |
| 2117 | ;; ("name" mon ("name" . mon) ) <-- group w/ a position and tags | ||
| 2117 | (defun speedbar-generic-list-group-p (sublst) | 2118 | (defun speedbar-generic-list-group-p (sublst) |
| 2118 | "Non-nil if SUBLST is a group. | 2119 | "Non-nil if SUBLST is a group. |
| 2119 | Groups may optionally contain a position." | 2120 | Groups may optionally contain a position." |
| @@ -2144,6 +2145,8 @@ Groups may optionally contain a position." | |||
| 2144 | (and (stringp (car-safe sublst)) | 2145 | (and (stringp (car-safe sublst)) |
| 2145 | (or (and (number-or-marker-p (cdr-safe sublst)) | 2146 | (or (and (number-or-marker-p (cdr-safe sublst)) |
| 2146 | (not (cdr-safe (cdr-safe sublst)))) | 2147 | (not (cdr-safe (cdr-safe sublst)))) |
| 2148 | (ignore-errors (and (number-or-marker-p (nth 1 sublst)) | ||
| 2149 | (functionp (nth 2 sublst)))) | ||
| 2147 | ;; For semantic/bovine items, this is needed | 2150 | ;; For semantic/bovine items, this is needed |
| 2148 | (symbolp (car-safe (cdr-safe sublst)))) | 2151 | (symbolp (car-safe (cdr-safe sublst)))) |
| 2149 | )) | 2152 | )) |
diff --git a/lisp/subr.el b/lisp/subr.el index 9accb9d36c5..c168cf5fdb2 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -3102,6 +3102,11 @@ buffer temporarily current, and the window that was used to display it | |||
| 3102 | temporarily selected. But it doesn't run `temp-buffer-show-hook' | 3102 | temporarily selected. But it doesn't run `temp-buffer-show-hook' |
| 3103 | if it uses `temp-buffer-show-function'. | 3103 | if it uses `temp-buffer-show-function'. |
| 3104 | 3104 | ||
| 3105 | By default, the setup hook puts the buffer into Help mode before running BODY. | ||
| 3106 | If BODY does not change the major mode, the show hook makes the buffer | ||
| 3107 | read-only, and scans it for function and variable names to make them into | ||
| 3108 | clickable cross-references. | ||
| 3109 | |||
| 3105 | See the related form `with-temp-buffer-window'." | 3110 | See the related form `with-temp-buffer-window'." |
| 3106 | (declare (debug t)) | 3111 | (declare (debug t)) |
| 3107 | (let ((old-dir (make-symbol "old-dir")) | 3112 | (let ((old-dir (make-symbol "old-dir")) |