From b58b3aafe8e02417de7747b508b4ff272b3ff1a0 Mon Sep 17 00:00:00 2001 From: Syohei YOSHIDA Date: Wed, 25 Nov 2015 17:56:53 +0900 Subject: [PATCH] Load cl-lib for using case macro --- outshine.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/outshine.el b/outshine.el index 51bc234..d17c83a 100644 --- a/outshine.el +++ b/outshine.el @@ -3,7 +3,7 @@ ;; Author: Thorsten Jolitz ;; Version: 2.0 ;; URL: https://github.com/tj64/outshine -;; Package-Requires: ((outorg "2.0")) +;; Package-Requires: ((outorg "2.0") (cl-lib "0.5")) ;;;; MetaData ;; :PROPERTIES: @@ -260,6 +260,7 @@ ;; necessary before Emacs 24.3 (require 'newcomment) ;; (require 'easymenu) +(require 'cl-lib) ;;; Declarations @@ -2616,7 +2617,7 @@ subtree, with two prefix ARGs, try to move up two levels before marking subtree (and subsequently run the tex command)." (interactive "p") (save-excursion - (case arg + (cl-case arg (4 (ignore-errors (outline-up-heading 1 t))) (16 (ignore-errors