emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/objed 9f4e3cf 062/216: More face object adjustments


From: Stefan Monnier
Subject: [elpa] externals/objed 9f4e3cf 062/216: More face object adjustments
Date: Tue, 8 Jan 2019 12:29:12 -0500 (EST)

branch: externals/objed
commit 9f4e3cf4d860edaa67a4f087b59a7c8286772eb8
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>

    More face object adjustments
---
 objed-objects.el | 2 +-
 objed.el         | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/objed-objects.el b/objed-objects.el
index 8d58873..b761712 100644
--- a/objed-objects.el
+++ b/objed-objects.el
@@ -1894,7 +1894,7 @@ non-nil the indentation block can contain empty lines."
 (defun objed--what-face (&optional pos)
   "Return face at POS."
   (let* ((pos (or pos (point)))
-         (face (or (get-text-property pos 'face))))
+         (face (get-text-property pos 'face)))
      (unless (keywordp (car-safe face)) (list face))))
 
 (defvar objed--last-face nil)
diff --git a/objed.el b/objed.el
index a592520..7624672 100644
--- a/objed.el
+++ b/objed.el
@@ -26,6 +26,8 @@
 ;; editing and composition of commands, too. It combines ideas of other Editors
 ;; like Vim or Kakoune and tries to align them with regular Emacs conventions.
 ;;
+;; For more information also check my blog https://www.with-emacs-com.
+;;
 ;; Text objects are textual patterns like a line, a top level definition, a
 ;; word, a sentence or any other unit of text. When `objed-mode' is enabled,
 ;; certain editing commands (configurable) will activate `objed' and enable its
@@ -308,7 +310,7 @@ setting the user options 
`objed-use-which-key-if-available-p' and
 ;; * User Settings and Variables
 
 (defcustom objed-disabled-modes
-  '(special-mode dired-mode Info-mode)
+  '(special-mode dired-mode)
   "List of modes for which objed should stay disabled.
 
 If the current `major-mode' is in the list or derives from a
@@ -365,6 +367,8 @@ See also `objed-disabled-p'"
     (indent-for-tab-command . char)
     (forward-button . face)
     (backward-button . face)
+    (Info-next-reference . face)
+    (Info-prev-reference . face)
     (objed-next-identifier . identifier)
     (objed-prev-identifier . identifier)
     ;; editing entry commands



reply via email to

[Prev in Thread] Current Thread [Next in Thread]