浏览代码

Merge branch 'maint'

Kyle Meyer 5 年之前
父节点
当前提交
5f2247f2fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.