]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/which-func.el (which-function): Silence imenu errors.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 Jan 2013 04:20:13 +0000 (23:20 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 Jan 2013 04:20:13 +0000 (23:20 -0500)
Fixes: debbugs:13433
lisp/ChangeLog
lisp/progmodes/which-func.el

index df666d5485d1ae5f0727177f106215dc6ba8ad85..56770098b4348bf086d3f81ba3edc3db7a886698 100644 (file)
@@ -1,6 +1,11 @@
+2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/which-func.el (which-function): Silence imenu errors
+       (bug#13433).
+
 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
 
-       * progmodes/sql.el: (sql-imenu-generic-expression): 
+       * progmodes/sql.el: (sql-imenu-generic-expression):
        (sql-mode-font-lock-object-name): Match schema qualified names.
        (sql-connect): Use string keys.
        (sql-product-interactive): Wait for interpreter prompt.
@@ -9,9 +14,8 @@
 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
 
        * progmodes/sql.el (sql-output-to-send): Remove, unused.
-       (sql-interactive-remove-continuation-prompt): 
-       (sql-send-magic-terminator, sql-interactive-mode): Remove
-       references.
+       (sql-interactive-remove-continuation-prompt):
+       (sql-send-magic-terminator, sql-interactive-mode): Remove references.
 
 2013-01-14  Leo Liu  <sdl.web@gmail.com>
 
 
 2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
 
-       * progmodes/python.el (python-nav-end-of-statement): Fix
-       cornercase when handling multiline strings.
+       * progmodes/python.el (python-nav-end-of-statement):
+       Fix cornercase when handling multiline strings.
 
 2013-01-13  Richard Stallman  <rms@gnu.org>
 
        * mail/sendmail.el (mail-position-on-field): Add doc string.
 
-       * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Get
-       current message boundaries and pass them to
+       * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
+       Get current message boundaries and pass them to
        message-forward-make-body-mime.  Minor style changes.
 
 2013-01-13  Eli Zaretskii  <eliz@gnu.org>
 
        * cus-start.el (all): Avoid warnings about
-       scroll-bar-adjust-thumb-portion on platforms where it is not
-       defined.
+       scroll-bar-adjust-thumb-portion on platforms where it is not defined.
 
 2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
 
index adf378f6bc7f1829ed00faa936b49a46aee397e3..edfe368479ca315bc8c57a9a9b9a1d5efaa9c568 100644 (file)
@@ -290,7 +290,7 @@ If no function name is found, return nil."
     (when (and (null name)
               (boundp 'imenu--index-alist) (null imenu--index-alist)
               (null which-function-imenu-failed))
-      (imenu--make-index-alist t)
+      (ignore-errors (imenu--make-index-alist t))
       (unless imenu--index-alist
         (set (make-local-variable 'which-function-imenu-failed) t)))
     ;; If we have an index alist, use it.