This file is indexed.

/usr/share/emacs/site-lisp/lookup-el/ndcookie.el is in lookup-el 1.4.1-8.

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
;;; ndcookie.el --- Lookup from cookie file
;; Copyright (C) 1999 Lookup Development Team <lookup@ring.gr.jp>

;; Author: Keisuke Nishida <kei@psn.net>
;; Version: $Id: ndcookie.el,v 1.1.1.1 2001/11/28 18:32:34 kazuhiko Exp $

;; This file is part of Lookup.

;; Lookup 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 of the License, or
;; (at your option) any later version.

;; Lookup 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 Lookup; if not, write to the Free Software Foundation,
;; Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

;;; Code:

(require 'lookup)
(require 'cookie1)

(defconst ndcookie-version "1.0")

(put 'ndcookie ':methods lookup-word-search-methods)

(put 'ndcookie 'setup 'ndcookie-setup)
(defun ndcookie-setup (agent)
  (let* ((file (expand-file-name (lookup-agent-location agent) data-directory))
	 (name (file-name-sans-extension (file-name-nondirectory file))))
    (list (lookup-new-dictionary agent file name))))

(put 'ndcookie 'clear 'ndcookie-clear)
(defun ndcookie-clear (agent) nil)

(put 'ndcookie 'search 'ndcookie-dictionary-search)
(defun ndcookie-dictionary-search (dictionary query)
  (let* ((cookie (cookie (lookup-dictionary-code dictionary) "" ""))
	 (heading (substring cookie 0 (string-match "\n" cookie))))
    (list (lookup-make-entry dictionary cookie heading))))

(put 'ndcookie 'content 'ndcookie-dictionary-content)
(defun ndcookie-dictionary-content (dictionary entry)
  (lookup-entry-code entry))

(provide 'ndcookie)

;;; ndcookie.el ends here