diff options
| author | Chong Yidong | 2012-06-12 13:47:14 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-06-12 13:47:14 +0800 |
| commit | f1a4e679f3b0696089b4fd73717307ba5d23e1cf (patch) | |
| tree | dc44016b20723e38247300b6c6eaec3cd4e98761 /lisp/progmodes | |
| parent | bf67e61f291a82a9e90a7918f5188714853f0094 (diff) | |
| download | emacs-f1a4e679f3b0696089b4fd73717307ba5d23e1cf.tar.gz emacs-f1a4e679f3b0696089b4fd73717307ba5d23e1cf.zip | |
Various minor variable/hook cleanups.
* lisp/emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
Rename from gud-inhibit-global-bindings.
* lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
* lisp/erc/erc-dcc.el (erc-dcc-chat-filter-functions): Rename from
erc-dcc-chat-filter-hook, since this is an abnormal hook.
* lisp/nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
hook from nxml-glyph-set-hook.
* lisp/progmodes/cwarn.el (cwarn-mode): Remove redundant variable
declaration.
* lisp/progmodes/pascal.el (pascal-toggle-completions): Doc fix.
* lisp/textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
Convert to defcustom.
* lisp/url/url-handlers.el (url-handler-regexp):
* lisp/url/url-nfs.el (url-nfs-automounter-directory-spec):
* lisp/url/url-vars.el (url-load-hook): Convert to defcustom.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/cwarn.el | 6 | ||||
| -rw-r--r-- | lisp/progmodes/pascal.el | 8 |
2 files changed, 4 insertions, 10 deletions
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el index 3e99f3c9176..09c7e908806 100644 --- a/lisp/progmodes/cwarn.el +++ b/lisp/progmodes/cwarn.el | |||
| @@ -119,12 +119,6 @@ | |||
| 119 | :version "21.1" | 119 | :version "21.1" |
| 120 | :group 'faces) | 120 | :group 'faces) |
| 121 | 121 | ||
| 122 | (defvar cwarn-mode nil | ||
| 123 | "Non-nil when Cwarn mode is active. | ||
| 124 | |||
| 125 | Never set this variable directly, use the command `cwarn-mode' | ||
| 126 | instead.") | ||
| 127 | |||
| 128 | (defcustom cwarn-configuration | 122 | (defcustom cwarn-configuration |
| 129 | '((c-mode (not reference)) | 123 | '((c-mode (not reference)) |
| 130 | (c++-mode t)) | 124 | (c++-mode t)) |
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index 62ba9418ced..ce37fc2c571 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el | |||
| @@ -232,10 +232,10 @@ will do all lineups." | |||
| 232 | :group 'pascal) | 232 | :group 'pascal) |
| 233 | 233 | ||
| 234 | (defvar pascal-toggle-completions nil | 234 | (defvar pascal-toggle-completions nil |
| 235 | "Non-nil meant \\<pascal-mode-map>\\[pascal-complete-word] would try all possible completions one by one. | 235 | "If non-nil, `pascal-complete-word' tries all possible completions. |
| 236 | Repeated use of \\[pascal-complete-word] would show you all of them. | 236 | Repeated use of \\[pascal-complete-word] then shows all |
| 237 | Normally, when there is more than one possible completion, | 237 | completions in turn, instead of displaying a list of all possible |
| 238 | it displays a list of all possible completions.") | 238 | completions.") |
| 239 | (make-obsolete-variable 'pascal-toggle-completions | 239 | (make-obsolete-variable 'pascal-toggle-completions |
| 240 | 'completion-cycle-threshold "24.1") | 240 | 'completion-cycle-threshold "24.1") |
| 241 | 241 | ||