Explorar el Código

Merge branch 'maint'

Kyle Meyer hace 5 años
padre
commit
5f2247f2fe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.