1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/editors/psgml/files/patch-psgml-lucid.el
Hiroki Sato 8402b7a610 - Fix broken patches.
- Remove obsolete xemacs support.

- Bump version number to 1.4.0 to avoid possible misunderstandings.
  Major Linux distributions have adopted an unofficial version
  labeled as 1.4.0 which includes fixes for Emacs 24.x while the
  official distfile is still 1.3.2.  There is no substantial
  difference between 1.3.2 and 1.4.0 except for Emacs 24.x compatibility,
  and this FreeBSD port has already had almost the same changes.
  Although similar unofficial versions can be found at [1] or [2],
  they look inconsistent and/or not actively maintained.  The official
  distfile is used for this reason.

[1] http://www.fsavigny.de/gpled-software/psgml-1.4.0.tar.gz
[2] https://marmalade-repo.org/packages/psgml
2015-11-12 07:09:05 +00:00

25 lines
654 B
EmacsLisp

--- psgml-lucid.el.orig 2015-11-12 06:36:57 UTC
+++ psgml-lucid.el
@@ -126,16 +126,16 @@ if the item is selected."
(loop for c in type collect
(if (atom c)
(vector (prin1-to-string c)
- (`(setq (, var) (, c)))
+ `(setq ,var ,c)
:style 'toggle
- :selected (`(eq (, var) '(, c))))
+ :selected `(eq ,var ',c))
(vector (car c)
- (`(setq (, var) '(,(cdr c))))
+ `(setq ,var ',(cdr c))
:style 'toggle
- :selected (`(eq (, var) '(,(cdr c)))))))))
+ :selected `(eq ,var ',(cdr c)))))))
(t
(vector desc
- (`(sgml-do-set-option '(, var)))
+ `(sgml-do-set-option ',var)
t)))))