; Unconditionally require built-in libraries
This commit is contained in:
parent
c0c5f43f49
commit
bf8044b9cd
6 changed files with 11 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; wisent-python.el --- Semantic support for Python -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2002, 2004, 2006-2022 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2002-2022 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Richard Kim <emacs18@gmail.com>
|
||||
;; Created: June 2002
|
||||
|
@ -27,9 +27,7 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
;; Try to load python support, but fail silently since it is only used
|
||||
;; for optional functionality
|
||||
(require 'python nil t)
|
||||
(require 'python)
|
||||
|
||||
(require 'semantic/wisent)
|
||||
(require 'semantic/wisent/python-wy)
|
||||
|
|
|
@ -539,7 +539,7 @@ list."
|
|||
(autoload 'parse-time-string "parse-time")
|
||||
|
||||
(eval-when-compile
|
||||
(require 'ange-ftp nil t)) ; ange-ftp-parse-filename
|
||||
(require 'ange-ftp)) ; ange-ftp-parse-filename
|
||||
|
||||
(defvar tramp-file-name-structure)
|
||||
(declare-function ange-ftp-ls "ange-ftp"
|
||||
|
|
|
@ -510,7 +510,7 @@ font-lock is done highlighting.")
|
|||
nil)
|
||||
|
||||
;; Register mh-folder-mode as supporting which-function-mode...
|
||||
(eval-and-compile (require 'which-func nil t))
|
||||
(require 'which-func)
|
||||
(when (and (boundp 'which-func-modes) (listp which-func-modes))
|
||||
(add-to-list 'which-func-modes 'mh-folder-mode))
|
||||
|
||||
|
|
|
@ -28,12 +28,11 @@
|
|||
|
||||
(require 'mh-e)
|
||||
|
||||
(eval-and-compile
|
||||
(require 'gnus-util nil t)
|
||||
(require 'mm-bodies nil t)
|
||||
(require 'mm-decode nil t)
|
||||
(require 'mm-view nil t)
|
||||
(require 'mml nil t))
|
||||
(require 'gnus-util)
|
||||
(require 'mm-bodies)
|
||||
(require 'mm-decode)
|
||||
(require 'mm-view)
|
||||
(require 'mml)
|
||||
|
||||
(defun mh-gnus-local-map-property (map)
|
||||
"Return a list suitable for a text property list specifying keymap MAP."
|
||||
|
|
|
@ -1411,7 +1411,7 @@ being the list of messages originally from that folder."
|
|||
(when cur-msg (mh-goto-msg cur-msg t t))
|
||||
(set-buffer-modified-p old-buffer-modified-flag)))
|
||||
|
||||
(eval-and-compile (require 'which-func nil t))
|
||||
(require 'which-func)
|
||||
|
||||
;;;###mh-autoload
|
||||
(defun mh-index-create-imenu-index ()
|
||||
|
|
|
@ -84,7 +84,7 @@ the completions."
|
|||
(define-obsolete-function-alias 'mh-line-end-position
|
||||
#'line-end-position "29.1")
|
||||
|
||||
(require 'mailabbrev nil t)
|
||||
(require 'mailabbrev)
|
||||
(define-obsolete-function-alias 'mh-mail-abbrev-make-syntax-table
|
||||
#'mail-abbrev-make-syntax-table "29.1")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue