Address package-lint output

pete
contrapunctus 2 years ago
parent 3554fd0bef
commit e93665085c

@ -4,7 +4,7 @@
;; Maintainer: wgreenhouse <wgreenhouse@tilde.club>
;; Keywords: comm
;; Homepage: https://codeberg.org/emacs-jabber/emacs-jabber
;; Package-Requires: ((hexrgb "0") (emacs "27.1") (fsm "0.1.0") (srv "0.1.0"))
;; Package-Requires: ((hexrgb "21.0") (emacs "27.1") (fsm "0.1.0") (srv "0.1.0"))
;; Version: 0.8.92
;; Copyright (C) 2003-2010, 2013 - Magnus Henoch - mange@freemail.hu
@ -32,7 +32,9 @@
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;;; Commentary:
;;
;; jabber.el is an XMPP client for Emacs. XMPP (also known as
;; 'Jabber') is the IETF-standard federated instant messaging protocol
;; - see http://xmpp.org for more information.
;;; History:
;;
@ -402,13 +404,6 @@ ATTRIBUTES must be a list of symbols, as present in XML-DATA."
(defalias 'jabber-propertize 'propertize)
;; jabber-propertize:1 ends here
;; [[file:jabber.org::#bound-true-p][bound-and-true-p:1]]
(unless (fboundp 'bound-and-true-p)
(defmacro bound-and-true-p (var)
"Return the value of symbol VAR if it is bound, else nil."
`(and (boundp (quote ,var)) ,var)))
;; bound-and-true-p:1 ends here
;; [[file:jabber.org::#read-input-method][jabber-read-with-input-method:1]]
(defsubst jabber-read-with-input-method (prompt &optional initial-contents history default-value)
"Like `read-string', but always inheriting the current input method."

@ -10,7 +10,7 @@
:CUSTOM_ID: library-headers-commentary
:END:
We don't want comments to be inserted within the package comment structure, and certainly not before the package first line summary, hence the =:comments no= in the header-args.
We don't want comments to be inserted within the package comment structure, and certainly not before the package first line summary, hence the =:comments no= in the header-args. (See PROPERTIES drawer.)
#+BEGIN_SRC emacs-lisp
;;; jabber.el --- a minimal jabber client -*- lexical-binding: t; -*-
@ -18,7 +18,7 @@ We don't want comments to be inserted within the package comment structure, and
;; Maintainer: wgreenhouse <wgreenhouse@tilde.club>
;; Keywords: comm
;; Homepage: https://codeberg.org/emacs-jabber/emacs-jabber
;; Package-Requires: ((hexrgb "0") (emacs "27.1") (fsm "0.1.0") (srv "0.1.0"))
;; Package-Requires: ((hexrgb "21.0") (emacs "27.1") (fsm "0.1.0") (srv "0.1.0"))
;; Version: 0.8.92
;; Copyright (C) 2003-2010, 2013 - Magnus Henoch - mange@freemail.hu
@ -50,7 +50,9 @@ We don't want comments to be inserted within the package comment structure, and
"Commentary" is displayed when the user clicks on the package's entry in =M-x list-packages=.
#+BEGIN_SRC emacs-lisp
;;; Commentary:
;;
;; jabber.el is an XMPP client for Emacs. XMPP (also known as
;; 'Jabber') is the IETF-standard federated instant messaging protocol
;; - see http://xmpp.org for more information.
;;; History:
;;
@ -550,17 +552,6 @@ ATTRIBUTES must be a list of symbols, as present in XML-DATA."
(defalias 'jabber-propertize 'propertize)
#+END_SRC
*** bound-and-true-p :macro:
:PROPERTIES:
:CUSTOM_ID: bound-true-p
:END:
#+BEGIN_SRC emacs-lisp
(unless (fboundp 'bound-and-true-p)
(defmacro bound-and-true-p (var)
"Return the value of symbol VAR if it is bound, else nil."
`(and (boundp (quote ,var)) ,var)))
#+END_SRC
*** jabber-read-with-input-method :inline:function:
:PROPERTIES:
:CUSTOM_ID: read-input-method

Loading…
Cancel
Save