|
@@ -428,7 +428,7 @@ With two arguments, return floor and remainder of their quotient."
|
|
|
(let ((q (floor x y)))
|
|
|
(list q (- x (if y (* y q) q)))))
|
|
|
|
|
|
-;; `pop-to-buffer-same-window' has been introduced with Emacs 24.1.
|
|
|
+;; `pop-to-buffer-same-window' has been introduced in Emacs 24.1.
|
|
|
(defun org-pop-to-buffer-same-window
|
|
|
(&optional buffer-or-name norecord label)
|
|
|
"Pop to buffer specified by BUFFER-OR-NAME in the selected window."
|
|
@@ -437,6 +437,12 @@ With two arguments, return floor and remainder of their quotient."
|
|
|
'pop-to-buffer-same-window buffer-or-name norecord)
|
|
|
(funcall 'switch-to-buffer buffer-or-name norecord)))
|
|
|
|
|
|
+;; `condition-case-unless-debug' has been introduced in Emacs 24.1
|
|
|
+(defalias 'org-condition-case-unless-debug
|
|
|
+ (if (fboundp 'condition-case-unless-debug)
|
|
|
+ 'condition-case-unless-debug
|
|
|
+ 'condition-case-no-debug))
|
|
|
+
|
|
|
(provide 'org-compat)
|
|
|
|
|
|
;;; org-compat.el ends here
|