/usr/share/emacs/site-lisp/rail/rail-mime-example.el is in rail 1.2.11-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | ;;; rail-mime-example.el --- Replace Agent-string Internal Library
;; Copyright (C) 2000 by Free Software Foundation, Inc.
;; Author: SHIMADA Mitsunobu <simm-emacs@fan.gr.jp>
;; Keywords: ~/.mime-example, SEMI, Rail
;; 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 2, 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 GNU Emacs; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
;;; Commentary:
;;
;;; Code:
(defun rail-mime-example-save-primitive (func)
(save-excursion
(or (and rail-user-agent-convert-mime-example
(set-buffer (get-buffer-create rail-temporary-buffer-name))
(progn
(erase-buffer)
(insert mime-view-version)
(goto-char (point-min))
(and (looking-at rail-mime-view-version-format)
(eq 'semi (cdr (assoc (buffer-substring
(match-beginning 1)
(match-end 1))
rail-product-name-alist)))
(rail-replace-codename-primitive
rail-mime-view-version-format
rail-additional-semi-codename-alist rail-semi-codename-alist))
(let ((mime-view-version
(buffer-substring (point-min) (point-max))))
(funcall func))
t))
(funcall func))))
(defun rail-mime-example-make-funcs (func)
(let ((new (intern (concat "rail-" (prin1-to-string func))))
(old (intern (concat "rail-" (prin1-to-string func) "-original"))))
(fset old (symbol-function func))
(fset func new)))
(provide 'rail-mime-example)
;;; rail-mime-example.el ends here
|