[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6ac22bc 05/11: Remove some compat code from allout.el
From: |
Lars Ingebrigtsen |
Subject: |
master 6ac22bc 05/11: Remove some compat code from allout.el |
Date: |
Wed, 12 Aug 2020 12:59:54 -0400 (EDT) |
branch: master
commit 6ac22bc00cbdd8b42269af79c2dca4e89e001ff9
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Remove some compat code from allout.el
* lisp/allout.el (allout-numbered-bullet)
(allout-file-xref-bullet): string-or-null-p is always defined.
---
lisp/allout.el | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/lisp/allout.el b/lisp/allout.el
index f52fa05..05d9153 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -722,10 +722,7 @@ disables numbering maintenance."
:group 'allout)
(make-variable-buffer-local 'allout-numbered-bullet)
;;;###autoload
-(put 'allout-numbered-bullet 'safe-local-variable
- (if (fboundp 'string-or-null-p)
- 'string-or-null-p
- (lambda (x) (or (stringp x) (null x)))))
+(put 'allout-numbered-bullet 'safe-local-variable 'string-or-null-p)
;;;_ = allout-file-xref-bullet
(defcustom allout-file-xref-bullet "@"
"Bullet signifying file cross-references, for `allout-resolve-xref'.
@@ -734,10 +731,7 @@ Set this var to the bullet you want to use for file
cross-references."
:type '(choice (const nil) string)
:group 'allout)
;;;###autoload
-(put 'allout-file-xref-bullet 'safe-local-variable
- (if (fboundp 'string-or-null-p)
- 'string-or-null-p
- (lambda (x) (or (stringp x) (null x)))))
+(put 'allout-file-xref-bullet 'safe-local-variable 'string-or-null-p)
;;;_ = allout-presentation-padding
(defcustom allout-presentation-padding 2
"Presentation-format white-space padding factor, for greater indent."
- master updated (6cddb73 -> 56a44a8), Lars Ingebrigtsen, 2020/08/12
- master 51ea541 01/11: Remove some compat code from ediff-init.el, Lars Ingebrigtsen, 2020/08/12
- master af6ea55 07/11: Remove some compat code from bubbles.el, Lars Ingebrigtsen, 2020/08/12
- master 74909e1 06/11: Fix a check for whether Emacs can play sounds in eudc-bob, Lars Ingebrigtsen, 2020/08/12
- master a459e52 02/11: Remove some compat code from idlwave.el, Lars Ingebrigtsen, 2020/08/12
- master 77907b2 03/11: Remove some compat code from prolog.el, Lars Ingebrigtsen, 2020/08/12
- master e97d3e1 08/11: Remove some compat code from epa.el, Lars Ingebrigtsen, 2020/08/12
- master 9a929de 10/11: Remove some compat code from viper*.el, Lars Ingebrigtsen, 2020/08/12
- master 56a44a8 11/11: Remove some compat code from viper-cmd.el, Lars Ingebrigtsen, 2020/08/12
- master 6ac22bc 05/11: Remove some compat code from allout.el,
Lars Ingebrigtsen <=
- master 67bd8a4 04/11: Remove some compat code from allout*.el, Lars Ingebrigtsen, 2020/08/12
- master 1dfb170 09/11: Mark some unused defaliases in semantic/fw.el obsolete, Lars Ingebrigtsen, 2020/08/12