Browse Source

Merge branch 'maint'

Kyle Meyer 5 năm trước cách đây
mục cha
commit
5f2247f2fe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/ox.el

+ 1 - 1
lisp/ox.el

@@ -6929,7 +6929,7 @@ options as CDR."
       (org-export--dispatch-ui options first-key expertp))
      ;; q key at first level aborts export.  At second level, cancel
      ;; first key instead.
-     ((eq key ?q) (if (not first-key) (error "Export aborted")
+     ((eq key ?q) (if (not first-key) (user-error "Export aborted")
 		    (org-export--dispatch-ui options nil expertp)))
      ;; Help key: Switch back to standard interface if expert UI was
      ;; active.