]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge remote-tracking branch 'origin/master' into feature/android
authorPo Lu <luangruo@yahoo.com>
Thu, 20 Jul 2023 23:58:30 +0000 (07:58 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 20 Jul 2023 23:58:30 +0000 (07:58 +0800)
1  2 
etc/NEWS
lisp/cus-edit.el
lisp/doc-view.el
lisp/wid-edit.el

diff --cc etc/NEWS
Simple merge
Simple merge
index c381d5d34a05a0ecfd3da4dd4ce90500dc3383d5,847601872f55645b331e091a50639f0da5050d56..b7f7a862af8b13e6fcbb3eda818873fed3bd1d1e
@@@ -2284,10 -2239,11 +2287,13 @@@ toggle between displaying the document 
      (setq mode-name "DocView"
          buffer-read-only t
          major-mode 'doc-view-mode)
-     (doc-view-imenu-setup)
+     (condition-case imenu-error
+         (doc-view-imenu-setup)
+       (imenu-unavailable (message "imenu support unavailable: %s"
+                                   (cadr imenu-error))))
      (doc-view-initiate-display)
 +    ;; Replace the tool bar map with `doc-view-tool-bar-map'.
 +    (setq-local tool-bar-map doc-view-tool-bar-map)
      ;; Switch off view-mode explicitly, because doc-view-mode is the
      ;; canonical view mode for PDF/PS/DVI files.  This could be
      ;; switched on automatically depending on the value of
Simple merge