[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 6f40ad04b7 282/308: Remove drupal-mode-beginni
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 6f40ad04b7 282/308: Remove drupal-mode-beginning-of-line |
Date: |
Tue, 25 Jan 2022 10:59:58 -0500 (EST) |
branch: elpa/drupal-mode
commit 6f40ad04b760d2266b8c07283df266471d85a9b2
Author: Thomas Fini Hansen <xen@xen.dk>
Commit: Thomas Fini Hansen <xen@xen.dk>
Remove drupal-mode-beginning-of-line
---
drupal-mode.el | 31 -------------------------------
1 file changed, 31 deletions(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index b8c2a15694..f8da836cc5 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -252,8 +252,6 @@ See `drupal-mode-map'.")
;; mode map on C-c C-v C-`mnemonic-key'.
(dolist (elem drupal-mode-map-alist)
(define-key map `[(control c) (control v) (control ,(car elem))] (cdr
elem)))
-
- (define-key map [(control a)] #'drupal-mode-beginning-of-line)
map)
"Keymap for `drupal-mode'")
@@ -700,35 +698,6 @@ instead."
((fboundp 'php-extras-eldoc-documentation-function)
(php-extras-eldoc-documentation-function))))))
-(defun drupal-mode-beginning-of-line (&optional n)
- "Move point to beginning of property value or to beginning of line.
-The prefix argument N is passed directly to `beginning-of-line'.
-
-This command is identical to `beginning-of-line' if not in a mode
-derived from `conf-mode'.
-
-If point is on a (non-continued) property line, move point to the
-beginning of the property value or the beginning of line,
-whichever is closer. If point is already at beginning of line,
-move point to beginning of property value. Therefore, repeated
-calls will toggle point between beginning of property value and
-beginning of line.
-
-Heavily based on `message-beginning-of-line' from Gnus."
- (interactive "p")
- (let ((zrs 'zmacs-region-stays))
- (when (and (featurep 'xemacs) (interactive-p) (boundp zrs))
- (set zrs t)))
- (if (derived-mode-p 'conf-mode)
- (let* ((here (point))
- (bol (progn (beginning-of-line n) (point)))
- (eol (point-at-eol))
- (eoh (re-search-forward "= *" eol t)))
- (goto-char
- (if (and eoh (or (< eoh here) (= bol here)))
- eoh bol)))
- (beginning-of-line n)))
-
(defvar drupal-local-variables (make-hash-table :test 'equal)
- [nongnu] elpa/drupal-mode f5fe08ccb3 209/308: Improved `drupal-tail-drupal-debug-txt`., (continued)
- [nongnu] elpa/drupal-mode f5fe08ccb3 209/308: Improved `drupal-tail-drupal-debug-txt`., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 0cb4bca4d6 216/308: Added ID suggestions for hook_update_N()., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 44ea6bfd95 221/308: Merge pull request #52 from arnested/flycheck-updates, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 8a432e36cb 231/308: Missing dependency., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode bcf7a8b372 224/308: Introduce an `auto` option for drupal/flymake-phpcs-run-in-place, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 89f2043bde 227/308: Suppress byte-compile-warning., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 73a1531435 242/308: Better default for `drupal/emacs-drush-update-tags-after-save`., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode c727a18be7 226/308: Fixed bug in `drupal-search-documentation`., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 12d79f3507 250/308: Also load gtags.el with helm-gtags., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f9d5596a57 275/308: Bump version number, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6f40ad04b7 282/308: Remove drupal-mode-beginning-of-line,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode 4f3cffa76d 302/308: Update .travis.yml, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 76c28888f7 294/308: Adjust buffer name patterns for autoinsert, ELPA Syncer, 2022/01/25