dotfiles/emacs/.emacs.d/elpa/forge-20260815.1911/forge-revnote.el

62 lines
2.1 KiB
EmacsLisp
Raw Normal View History

;;; forge-revnote.el --- Revnote support -*- lexical-binding:t -*-
;; Copyright (C) 2018-2026 Jonas Bernoulli
;; Author: Jonas Bernoulli <emacs.forge@jonas.bernoulli.dev>
;; Maintainer: Jonas Bernoulli <emacs.forge@jonas.bernoulli.dev>
;; SPDX-License-Identifier: GPL-3.0-or-later
;; This file is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published
;; by the Free Software Foundation, either version 3 of the License,
;; or (at your option) any later version.
;;
;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this file. If not, see <https://www.gnu.org/licenses/>.
;;; Code:
(require 'forge)
(require 'forge-post)
(require 'forge-topic)
;;; Class
(defclass forge-revnote (forge-topic)
((closql-table :initform 'revnote)
(closql-primary-key :initform 'id)
;; (closql-order-by :initform [(desc number)])
(closql-foreign-key :initform 'repository)
(closql-class-prefix :initform "forge-")
(id :initarg :id)
(repository :initarg :repository)
(commit :initarg :commit)
(file :initarg :file)
(line :initarg :line)
(author :initarg :author)
(body :initarg :body)))
;;; _
;; Local Variables:
;; read-symbol-shorthands: (
;; ("and$" . "cond-let--and$")
;; ("thread$" . "cond-let--thread$")
;; ("when$" . "cond-let--when$")
;; ("and-let*" . "cond-let--and-let*")
;; ("and-let" . "cond-let--and-let")
;; ("if-let*" . "cond-let--if-let*")
;; ("if-let" . "cond-let--if-let")
;; ("when-let*" . "cond-let--when-let*")
;; ("when-let" . "cond-let--when-let")
;; ("while-let*" . "cond-let--while-let*")
;; ("while-let" . "cond-let--while-let"))
;; End:
(provide 'forge-revnote)
;;; forge-revnote.el ends here